473,788 Members | 2,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3391
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/

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...@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
--
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...@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:
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...@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:
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
4207
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 a few niggling problems and fixing it seems to be a case of patching errors as we find them so I'm thinking that it might be worth starting the logic from scratch and rebuilding this again. Basically we have a simple search, which is simply a...
87
5262
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 what point when learning C++ was I supposed to have picked up STL? I ask because at every job I've had, and every job interview for that matter, whenever STL comes up it's not I, but a manager who says effectively yuck, we don't use that crap.
2
1266
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 (http://ajax.schwarz-interactive.de/csharpsample/default.aspx) and viewed the video and the example but I still don't know how to get the
1
1187
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 to give the CS file along with ASPX files ot just ASXP, CONFIG, dll file should be good enough for the APP to work.
0
1065
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 extension for browsing and manipulating tabular data (e.g. file name, file size, permissions etc.) called "ipipe", contributed by Walter Doerwald. See http://projects.scipy.org/ipython/ipython/wiki/UsingIPipe to get an idea.
6
6019
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 is done using VB.NET). After converting, everything was fine, and worked and compiled correctly, but I noticed one big difference between the VB.NET code of the converted files in the projects and the VB.NET code in new pages. The new pages use...
15
1825
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
2788
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 - Deploy started. CHETR.PROCEDURE1 - Created temporary working directory C:\PROJECTS\IBM\TEST3\workspace\.metadata\.plugins\com.ibm.datatools.db2.routines.deploy.ui\bld1226688205679. C:\Program Files\IBM\DSADM1.2\jdk\bin\javac -classpath...
0
10370
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10113
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2896
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.