problem on setting up python on visual studio code

Viewed 63
2 Answers

You don't have to reload the page. Python is already installed. Just close the current window near the "Extension: Python". If for some reason VSCode still can't recognize python files, just close it and open it again.

After finishing your Python file in VS Code, save all changes, head to the terminal and enter the directory of the python file(A directory is where you've saved your file), and type python example_file.py. Of course, you can change the name example_file.py to your actual file name.

Related