how do i fix this invalid arguement error

junkone1 at gmail.com junkone1 at gmail.com
Sat Nov 26 11:12:46 EST 2016


import csv
with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun 2016-11-25-11-11.csv','r') as f:
    reader=csv.reader(f)
    for row in reader:
        print(row)


  File "C:/Users/Suresh/PycharmProjects/untitled/test.py", line 2, in <module>
    with open('\\192.168.0.1\fe18cb0618cabd41\ninjatrader$EURUSDTestRun 2016-11-25-11-11.csv','r') as f:
OSError: [Errno 22] Invalid argument: '\\192.168.0.1\x0ce18cb0618cabd41\ninjatrader$EURUSDTestRun 2016-11-25-11-11.csv'



More information about the Python-list mailing list