Jan-11-2017, 07:04 AM
(This post was last modified: Jan-11-2017, 07:05 AM by landlord1984.)
I am learning loading files by open().
I am sure I placed my text file in the same folder with my scripts.
But still get error:No such file or directory
I am using Python 3.5 with Eclipse.
Thanks,
L
I am sure I placed my text file in the same folder with my scripts.
But still get error:No such file or directory
I am using Python 3.5 with Eclipse.
Thanks,
L
import matplotlib.pyplot as plt import csv x = [] y = [] with open('example.txt','r') as csvfile: plots = csv.reader(csvfile, delimiter=',')Above is my code