[Baypiggies] urllib2 query

Fred C fred at kas-group.com
Thu Nov 18 20:14:53 CET 2010


Sorry Stephen pycurl is way more appropriate for this than pexpect. 
http://pypi.python.org/pypi/pycurl/7.18.1

-fred-

On Nov 18, 2010, at 11:09 AM, Stephen Cattaneo wrote:

> Does it need to be urllib2?  I would suggest pexpect for doing this.
> 
> -Steve
> 
> On Thu, Nov 18, 2010 at 11:06 AM, Vikram K <kpguy1975 at gmail.com> wrote:
>> consider the following ftp site:
>> ftp://ftp.ncbi.nih.gov/refseq/H_sapiens/
>> 
>> I wish to write a program using urllib2 which can automatically download all
>> the contents of one of the folders in this site (say, for example,
>> mRNA_Prot) into a folder in my computer. Subsequently i want my program to
>> be able to automatically update the downloaded folder in my computer in
>> accordance with any changes made in future in the folder in the ftp site.
>> Any suggestions on how i should proceed?
>> I am using a windows 7 computer. Will i also have to use the scheduled tasks
>> option in system tools for solving this problem?
>> 
>> _______________________________________________
>> Baypiggies mailing list
>> Baypiggies at python.org
>> To change your subscription options or unsubscribe:
>> http://mail.python.org/mailman/listinfo/baypiggies
>> 
> 
> 
> 
> -- 
> ---
> Failures are finger posts on the road to achievement.
> 
>  -- C.S. Lewis
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies

-- 
Writing Java code is like using a sledgehammer to hang a picture frame.
Fred C.
fred at bsdhost.net
http://kiq.me/JP



More information about the Baypiggies mailing list