how to upload files to "google code" filesection ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stef Mientki

    how to upload files to "google code" filesection ?

    hello,

    In a program I want to download (updated) files from google code (not
    the svn section).
    I could find a python script to upload files,
    but not for downloading.

    Anyone has a hint or a solution ?

    thanks,
    Stef Mientki
  • Mike Driscoll

    #2
    Re: how to upload files to "google code" filesection ?

    On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@g mail.comwrote:
    hello,
    >
    In a program I want to download (updated) files from google code (not
    the svn section).
    I could find a python script to upload files,
    but not for downloading.
    >
    Anyone has a hint or a solution ?
    >
    thanks,
    Stef Mientki
    You should be able to use urllib to do that. The following link has a
    recipe:



    If you need to search Google Code, there's an API that appears to be
    exposed through their gdata module.

    Mike

    Comment

    • Stef Mientki

      #3
      Re: how to upload files to &quot;google code&quot; filesection ?

      Mike Driscoll wrote:
      On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@g mail.comwrote:
      >
      >hello,
      >>
      >In a program I want to download (updated) files from google code (not
      >the svn section).
      >I could find a python script to upload files,
      >but not for downloading.
      >>
      >Anyone has a hint or a solution ?
      >>
      >thanks,
      >Stef Mientki
      >>
      >
      You should be able to use urllib to do that. The following link has a
      recipe:
      >

      >
      thanks Mike,

      I already found an even simpler solution (that works)

      filename, header = urllib.urlretri eve (url)
      If you need to search Google Code, there's an API that appears to be
      exposed through their gdata module.
      >
      Do you have perhaps a more specific link ?
      I saw the Google API's, but its'quit large / complex, so I couldnt find
      it there.

      cheers,
      Stef

      Comment

      • Mike Driscoll

        #4
        Re: how to upload files to &quot;google code&quot; filesection ?

        Stef,
        Mike Driscoll wrote:
        On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@g mail.comwrote:
        >
        hello,
        >
        In a program I want to download (updated) files from google code (not
        the svn section).
        I could find a python script to upload files,
        but not for downloading.
        >
        Anyone has a hint or a solution ?
        >
        thanks,
        Stef Mientki
        >
        You should be able to use urllib to do that. The following link has a
        recipe:
        >>
        thanks Mike,
        >
        I already found an even simpler solution (that works)
        >
            filename, header = urllib.urlretri eve (url)
        >
        If you need to search Google Code, there's an API that appears to be
        exposed through their gdata module.
        >
        Do you have perhaps a more specific link ?
        I saw the Google API's, but its'quit large / complex, so I couldnt find
        it there.
        >
        cheers,
        Stef
        >
        Mike
        I was looking at this page about Google Code Search:
        Start using this public code search tool for exploring code without downloading the source.


        You should be able to use the API that's outlined there in conjunction
        with the gdata module on this page:

        Contribute to google/gdata-python-client development by creating an account on GitHub.


        Mike

        Comment

        • Stef Mientki

          #5
          Re: how to upload files to &quot;google code&quot; filesection ?

          Mike Driscoll wrote:
          Stef,
          >
          >
          >Mike Driscoll wrote:
          >>
          >>On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@g mail.comwrote:
          >>>
          >>>hello,
          >>>>
          >>>In a program I want to download (updated) files from google code (not
          >>>the svn section).
          >>>I could find a python script to upload files,
          >>>but not for downloading.
          >>>>
          >>>Anyone has a hint or a solution ?
          >>>>
          >>>thanks,
          >>>Stef Mientki
          >>>>
          >>You should be able to use urllib to do that. The following link has a
          >>recipe:
          >>>
          >>http://code.activestate.com/recipes/496685/
          >>>
          >thanks Mike,
          >>
          >I already found an even simpler solution (that works)
          >>
          > filename, header = urllib.urlretri eve (url)
          >>
          >>
          >>If you need to search Google Code, there's an API that appears to be
          >>exposed through their gdata module.
          >>>
          >Do you have perhaps a more specific link ?
          >I saw the Google API's, but its'quit large / complex, so I couldnt find
          >it there.
          >>
          >cheers,
          >Stef
          >>
          >>
          >>Mike
          >>>
          >
          I was looking at this page about Google Code Search:
          Start using this public code search tool for exploring code without downloading the source.

          >
          You should be able to use the API that's outlined there in conjunction
          with the gdata module on this page:
          >
          Contribute to google/gdata-python-client development by creating an account on GitHub.

          >
          >
          thanks Mike,
          I'll take a look at those links.

          cheers,
          Stef

          Comment

          Working...