473,594 Members | 2,752 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 3379
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
4197
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
5158
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
1258
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
1182
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
1054
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
6003
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
1805
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
2769
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
7936
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8241
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
8366
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
7997
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
8227
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
5402
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();...
0
3893
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2383
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
1
1469
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.