Running Python Script fails on file_Path
Hi,
trying to use my first Python script for ServiceDeskPlus I keep running into an error that drives me crazy.
However I keep getting the error:
Traceback (most resecnt call last): File "C:\Program Files\ManageENgine\ServiceDEsk\integration\custom_scripts\send_reminder_mail.py", line 13, in <module> workorder_list = read_file(str(sys.argv[1])) File "C:\Program Files\ManageEngine\ServiceDesk\integration\custom_scripts\functions.py", line 31, in read_file with open(file_Path) as data_file: FileNotFound: [Errno 2] No such file or directory: 'C:\\Program'
To me this sound like the functions.py has some trouble resolving a path containg spaces ("Program Files") but I hardly doubt I am the only one running into that error if this is the case. Can anyone give me a hint what I am doing wrong or which part of preparation I forgot?
Best regards
Johannes
New to ADSelfService Plus?