Visual Studio Code and Python 3.9 integration

Hi Folks,

Please be gentle with me as this is my first post and I am new to Python. I have downloaded and installed Python 3.9 on Windows 10 64 bit. This all seems to work fine and I can code, debug and run Python scripts within the IDLE IDE.

The next step was to install Visual Studio Code and the Python extension - which I have done. However, the Microsoft instructions state that I need to click on the status bar and select Python 3.9. I do not have a Python option in my status bar…

No doubt I am being a numpty but can someone please point me in the right direction?

Many thanks

Paddy
UK

Two things. One, this category is more for people who work on editors and IDEs to talk about stuff, not support. For the Python extension for VS Code you can ask for help at microsoft/vscode-python Q A · Discussions · GitHub.

But two, the reason you don’t see it is you have not triggered the launch of a Python extension yet. If you open a Python file then you will trigger the loading of the Python extension and then you will see the environment in the status bar.

1 Like

Hi Brett,

Thank you for your swift reply. Please accept my apologies for posting in the wrong section. I will try your suggestion over the weekend.

As an aside, which IDE would you recommend for Python? PyCharm was one recommendation I saw. Would be interested in your opinion.

Kind regards

Paddy
UK

I’ve used Pycharm on and off for years, but always went back to Emacs. However, 8 months ago I switched to VS Code and barely looked back. I now miss it when it’s not installed.

Disclaimer: I work for Microsoft.

3 Likes

Hi Both,

Thank you for your help. Opening the .py file allowed me to select Python 3.9. Looks like I need to do some more work though to learn VS.CODE! :smiley:

Have a great weekend.

Paddy
UK

I am the dev manager for the Python extension for VS Code, so you should definitely not ask me for an unbiased opinion. :grin:

2 Likes