fork download
  1. import csv
  2.  
  3. with open('node.csv') as f1:
  4. for i in f1:
  5. print(i)
  6. ndlst = list(csv.reader(f1))
  7.  
  8. with open('elems.csv') as f2:
  9. for j in f2:
  10. print(j)
Runtime error #stdin #stdout #stderr 0.13s 23496KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 3, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'node.csv'