> > > >> my problem is that I would like to download several files at the time. > > > >> As I have not much experience in programming, could you point me the > > > >> easier ways to do this in python ? > > > Thank you both for your help. Threads are working for me. However, a > > new problem for me is that the url I want to download are in an xml > > file (I want to download podcasts), and is not the same as the file > > downloaded: > > >http://www.sciam.com/podcast/podcast.mp3?e_id=86102326-0B1F-A3D4-74B2... > > > will be redirected to download: > > >http://podcast.sciam.com/daily/sa_d_podcast_080307.mp3 > > > is there a way, knowing the first url to get the second at runtime in > > my script ? > > Found it: geturl() does the job
That's for normalizing schemes. I believe you subclass FancyURLopener and override the read method. -- http://mail.python.org/mailman/listinfo/python-list