Use simpler import
This commit is contained in:
parent
38fc837fa9
commit
ba887bb04e
|
@ -857,7 +857,7 @@ A big ugly regular expression can parse this, but using the new
|
|||
\module{csv} package is much simpler:
|
||||
|
||||
\begin{verbatim}
|
||||
from csv import csv
|
||||
import csv
|
||||
|
||||
input = open('datafile', 'rb')
|
||||
reader = csv.reader(input)
|
||||
|
|
Loading…
Reference in New Issue