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 3382
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
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
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
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 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 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...
|
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.
|
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
|
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.
|
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.
| |
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...
|
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 - 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...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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,...
| |
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |