[pythonvis] Re: Setting VSCode up to work with Python. Was. Re: Accessible Python Environment

  • From: Florian Beijers <florianbeijers@xxxxxxxxx>
  • To: pythonvis@xxxxxxxxxxxxx
  • Date: Sun, 19 Apr 2020 10:30:36 +0200

Hi,

First, you will want the python extension for VS Code. If you look for
"python", it should be the topmost one.

Second, if it doesn't automatically select your interpreter, search
for "select interpreter"  from the command pallet. Then, pick your
python 3.8.2 from the list.
That should be enough to get you autocomplete and such.
Now as for debugging with Python, that I honestly haven't ever done
myself, but see if you can find the documentation on the Python
extension, it's quite extensive and should help you out.
Perhaps you need to manually create a launch.json file to make that work.

Good luck in any case:)

Florian

2020-04-19 10:25 GMT+02:00, Gabriele Battaglia <dmarc-noreply@xxxxxxxxxxxxx>:

Hi, I also listened through the tutorial, thanks Florian.
By the way I’m facing some hard time in order to setting VSCode working with
Python.
Firstly I saw the Python Add-ON name Python till version 3.5, it seems quite
old and not maintained, is it something to worry about? I’m running Python
3.8.2 on my Windows Machine.

On my first test I opened a blank file and code the classic Hello world.
Pressing f5 VSCode asks me to choose an enveronment where there is no Python
interpreter in between, why?
Thanks for help.
Gabriele.List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

List web page is
//www.freelists.org/webpage/pythonvis

To unsubscribe, send email to
pythonvis-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.

Other related posts: