swarna pulavarty wrote:
I am new to this Python group and to Python . I need to retrieve data
from an arbitrary URL and save it to a file.
if you have an URL, you can use the urllib module:
urllib.urlretrieve(url, filename)
Can anyone tell me how to retrieve any data using FTP modules
Hi all,
I am new to this Python group and to Python . I need to retrieve data from an arbitrary URL and save it to a file.
Can anyone tell me how to retrieve "any" data using FTP modules in Python ? And also, Can you suggest me some books and online references to get familiar with Python and
Try this from the interpreter:
import ftplib
help(ftplib)
The module is pretty easy to use. If you'll be doing anything with
`http', then visit urllib2:
import urllib2
help(urllib2)
I think urllib2 will take `ftp' urls:
ftp://user:[EMAIL PROTECTED]/dir/file_to_get
hth,
jw
On 9/13/05, swarna
Hi all,
I am new to this Python group and to Python . I need to retrieve data from an arbitrary URL and save it to a file.
Can anyone tell me how to retrieve "any" data using FTP modules in Python ? And also, Can you suggest me some books and online references to get familiar with Python and
swarna pulavarty wrote:
Hi all,
I am new to this Python group and to Python . I need to retrieve data
from an arbitrary URL and save it to a file.
Can anyone tell me how to retrieve any data using FTP modules in
Python ? And also, Can you suggest me some books and online references
to