473,395 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
Jul 26 '08 #1
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
Jul 28 '08 #2
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
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...
87
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...
2
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...
1
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...
0
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...
6
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...
15
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.
0
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 -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
jinu1996
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.