Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The code works fine. The error could be related to the selection of python version in your set-up.
On the Visual Studio Code screen, click on the word "TERMINAL" on the lower menu, to activate the terminal box (behaves as a DOS windows) and then click on the version number next to "Python" on the 'new' menu on the bottom right side of the screen. Now you will see and select the right python version. For PSSe35, select python 3.7.x 64-bit. [In my setup, I use PSSe v.35.6 with python 3.9]

image description