Dec-18-2017, 04:13 PM
Hi,
this code doesn't work for me when running in Pycharm & adding the argument to the run
when trying in CMD - it just ignores the argument
import sys if str(sys.argv)[1] != "" : .... .... else: latest_file = sys.argv[1]
Error:C:\Python27\python.exe: can't open file 'C:/.../Main.py C:/.../report.csv': [Errno 22] Invalid argument