Skip to content Skip to sidebar Skip to footer

Filenotfounderror Python Script

I am trying to run a python script, .py in the windows command prompt. I drag the script from my files into the command prompt window. I run it. Then, the script presents a prompt

Solution 1:

Yeah that happened to me a lot.

To solve it just write the whole directory of the file.

If you are in windows

c:\user\username\Desktop\file.txt

If you are in linux or mac:

/home/username/Desktop/file.txt

Post a Comment for "Filenotfounderror Python Script"