MSDotNetBuddy
The blog is to experiment with various technologies.
Search This Blog
2023/10/01
Python:read csv file
import
csv
with
open
(
'giant.csv'
,
mode
=
'r'
)
as
file
:
csvFile
=
csv
.
reader
(
file
)
for
lines
in
csvFile
:
print
(
lines
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment