简体   繁体   中英

Python 3.7 & 3.8 and VSCode

I am a beginner at coding and I wanted to start with Python.

I am currently following a free tutorial to install Python 3.7 along with Visual Studio Code.

  1. I have installed VS Code.
  2. I have installed both Python 3.7 and 3.8 (the latest version available)
  3. I've installed the Python and Code Runner extensions.;
  4. I am 100% sure that I have added both of them to PATH.

Right now I am trying to run a simple command which is "print("Hello there")", for some reason it says on the output section:

[Running] python -u "c:\Users---\Desktop\whatever.py"

[Done] exited with code=0 in 0.155 seconds

Any recommendation would be appreciated.

Exit 0 means the successful execution of the program and a non zero exit code indicates an error. And it looks like the 'Code Runner' extension caused it. You can try to disable it in order to use the 'Python' extension.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM