Re: [Tutor] To Specify a directory path to download

2008-07-31 Thread Monika Jisswel
> > urllib.urlretrieve(url.strip(),save_to) > could be changed into this : folder = '/home/html-data/' urllib.urlretrieve(url.strip(),folder+save_to) 2008/7/31 swati jarial <[EMAIL PROTECTED]> > Hello, > > I am new to python this is the code I have written to download a file from > the internet

[Tutor] To Specify a directory path to download

2008-07-31 Thread swati jarial
Hello, I am new to python this is the code I have written to download a file from the internet and then send en email if any error occurs during download. I just want know how to specify which folder to download my files. It automatically downloads file to the directory where TEST1.txt sits... im