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:
|
\module{csv} package is much simpler:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
from csv import csv
|
import csv
|
||||||
|
|
||||||
input = open('datafile', 'rb')
|
input = open('datafile', 'rb')
|
||||||
reader = csv.reader(input)
|
reader = csv.reader(input)
|
||||||
|
|
Loading…
Reference in New Issue