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 4 3371
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alastair |
last post by:
Hello guys,
I've been building a search facility for an intranet site I'm part of
developing and we've been building a search engine using Index Server.
It mostly works, however there have been...
|
by: ziliath |
last post by:
I recently tried out the Google "top coder" contest, as a C++
coder. I noticed immediately that they expected me to know STL.
To which I say, what the fuck?!
I may be missing something, but at...
|
by: Phin |
last post by:
Hi,
I would like to have the "google suggests" functionality on a web page
like it is here:
http://www.google.com/webhp?complete=1&hl=en
I have downloaded the AJAX .NET wrapper...
|
by: prabhupr |
last post by:
Hi Folks
I have a ASP.NET 2.0 (C#) project, in which I have few ASPX/cs files.
When I compile the project, it generates the assemblies
Does this mean, when I release the files to TEST, I have...
|
by: Ville Vainio |
last post by:
This comes in a bit of a hurry (you only have time until next monday to
sign up), but here's the deal:
The next version of ipython (0.7.2, "out soon", pretty much done
already) will include an...
|
by: Nathan Sokalski |
last post by:
I recently converted some ASP.NET 1.1 projects of mine, created with Visual
Studio .NET 2003, to Web Application Projects in Visual Studio .NET 2005 so
that I could use ASP.NET 2.0 (All my ASP.NET...
|
by: Sri Ragaventhirar |
last post by:
char *s = "Google"
Where this "Google" will be stored?
Why it can't be changed?
like s='h'; -this is giving error
please explain this.
|
by: rcreddych |
last post by:
I am getting the following error while deploying a simple Java Stored Procedure. I am using db2 8 and using the IBM Data Studio. I am new to DB2. Your help will be apreciated.
CHETR.PROCEDURE1 -...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |