Re: web page retrieve problems

2009-07-27 Thread Alex
On Jul 26, 8:57 am, golu wrote: > the following function retrieves pages from the web and saves them in > a specified dir. i want to extract the respective filenames from the > urls e.g the page code.google.com shud be saved as code-google.htm  or > something similar. can u suggest me a way to do

web page retrieve problems

2009-07-26 Thread golu
the following function retrieves pages from the web and saves them in a specified dir. i want to extract the respective filenames from the urls e.g the page code.google.com shud be saved as code-google.htm or something similar. can u suggest me a way to do it def retrieve_url(self,url): ""