I am reaching out due to an issue while trying to run a ".py" file on Windows 11.
After entering this on the command prompt:
py \C:\Users\ibrah\AppData\Local\Programs\Python\Python3.12\Waterfall%20Plot.py,
the following message is rendered
C:\Users\ibrah> py .\C:\Users\ibrah\AppData\Local\Programs\Python\Python3.12\Waterfall%20Plot.py
C:\Users\ibrah\AppData\Local\Programs\Python\Python312\python.exe: can't open file 'C:\\Users\\ibrah\\C:\\Users\\ibrah\\AppData\\Local\\Programs\\Python\\Python3.12\\Waterfall%20Plot.py': [Errno 22] Invalid argument
while no "python.exe" file exists in the "Python312" folder.
Does this mean the command is typed incorrectly, the access to the file(s) and / or folder(s) is restricted, or anything else?
In case there is any other alternative to execute the file, what would it be?
Also, what is the difference between the two folders Python312 and Python 3.12, since both have been installed with Python? Is the first one supposed to be installed with it since neither python.exe nor python-312 can be found in the tags while python-3.12 can be?
Greetings.
%20in the file name? It's URL encoding for a space. Does using a space and wrapping the file name in quotes maybe work? Like:"C:\Users\ibrah\AppData\Local\Programs\Python\Python3.12\Waterfall Plot.py".\perhaps see also Difference between./and~/