May-13-2021, 02:59 AM
Hi,
The text.csv has 2 columns:
id info
1, From: abc to xyz
2, From abc yxz
I want to print the data out.
The second code error is:
with open("C:\temp\text.csv", "r") as text:
OSError: [Errno 22] Invalid argument: 'C:\temp\text.csv'
The third code error is:
f = open("C:\temp\text.csv", "r")
OSError: [Errno 22] Invalid argument: 'C:\temp\text.csv'
The text.csv has 2 columns:
id info
1, From: abc to xyz
2, From abc yxz
I want to print the data out.
The second code error is:
with open("C:\temp\text.csv", "r") as text:
OSError: [Errno 22] Invalid argument: 'C:\temp\text.csv'
The third code error is:
f = open("C:\temp\text.csv", "r")
OSError: [Errno 22] Invalid argument: 'C:\temp\text.csv'