Feature Requests item #1686390, was opened at 2007-03-22 17:04
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1686390&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Guettler (guettli)
>Assigned to: Skip Montanaro (montanaro)
Summary: csv sniff example

Initial Comment:
Hi,

I think the csv module misses an example for the
nice sniff method:

import csv
dialect=csv.Sniffer().sniff(open(csvfile).read(1024))
fd=open(csvfile)
for row in csv.reader(fd, dialect):
    for col in row:
        print col,
    print


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1686390&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to