By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,421 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,421 IT Pros & Developers. It's quick & easy.

how to upload files to "google code" filesection ?

P: n/a
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
Jul 26 '08 #1
Share this Question
Share on Google+
4 Replies

P: n/a
On Jul 26, 12:43*pm, Stef Mientki <stef.mien...@gmail.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/

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

Mike
Jul 28 '08 #2

P: n/a
Mike Driscoll wrote:
On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@gmail.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.urlretrieve (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
--
http://mail.python.org/mailman/listinfo/python-list
Jul 28 '08 #3

P: n/a
Stef,
Mike Driscoll wrote:
On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@gmail.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.urlretrieve (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:
http://code.google.com/apis/codesearch/

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

http://code.google.com/p/gdata-python-client/

Mike

Jul 28 '08 #4

P: n/a
Mike Driscoll wrote:
Stef,

>Mike Driscoll wrote:
>>On Jul 26, 12:43 pm, Stef Mientki <stef.mien...@gmail.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.urlretrieve (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:
http://code.google.com/apis/codesearch/

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

http://code.google.com/p/gdata-python-client/

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

cheers,
Stef
Mike

--
http://mail.python.org/mailman/listinfo/python-list
Jul 28 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.