On Wed, 2 Mar 2005 08:27:35 -0600, Skip Montanaro <[EMAIL PROTECTED]> wrote:
> >>>>> "Sandeep" == Sandeep Avinash Gohad <[EMAIL PROTECTED]> writes:
> 
>     Sandeep> How can i use the url as an input so that I can save data from
>     Sandeep> that particular webpage to comma seperated file (csv).
> 
> This worked for me:
> 
>     import urllib, csv
>     reader = csv.reader(urllib.urlopen("http://.../some.csv";))
>     for row in reader:
>         print row

He's not opening a CSV file... he wants to open a 'regular' web-page,
and then "convert it to CSV".

> 
> Skip
> --
> http://mail.python.org/mailman/listinfo/python-list
> 


-- 
Premshree Pillai
http://www.livejournal.com/users/premshree/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to