i have this problem in my visual code with python…
- User
i have this problem in my visual code with python C:\Users\kyo\AppData\Local\Programs\Python\Python312\python.exe: can't open file 'C:\Users\kyo\tel1.py': [Errno 2] No such file or directory
- Assistant
It looks like you're trying to run a Python script named
tel1.py, but Python is unable to find the file at the specified location. Here are a few things you can check or try to resolve the issue:-
Check the File Path:
- Ensure that the file
tel1.pyexists in the directoryC:\Users\kyo\. Double-check for typos in the file name or the directory path.
- Ensure that the file
-
Current Directory in Visual Studio Code:
-