creating csv file from

Skip Montanaro skip at
Wed Mar 2 15:27:35 CET 2005

>>>>> "Sandeep" == Sandeep Avinash Gohad <gohadbhai at> 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


More information about the Python-list mailing list