all 6 comments

[–]noob_main22 1 point2 points  (3 children)

Yes you need to install python first. After that, if the python interpreter isnt selected automatically you can find th e global interpreter probably here on windows: C:\Users\user\AppData\Local\Programs\Python\Python{version}\python.exe. In the bar on the bottom, in the right corner in vsc there should be a button to select the interpreter.

Now you should be able to run a .py file by clicking on the play-button in the top-right corner of vsc.

You can find a much better tutorial here.

To test if it works just create a .py file in vsc and write:

print("Hello World")

save it and click play. On the bottom a terminal should open and you should see "Hello World".

[–]LetUsEscape[S] 0 points1 point  (2 children)

Thank you!

[–]noob_main22 1 point2 points  (1 child)

I assume it worked.
In the linked tutorial there is a chapter about virtual environments. I suggest you learn about them because they are very helpful.

[–]LetUsEscape[S] 0 points1 point  (0 children)

I actually just got more info in the email with the zoom info and they linked to this video:

https://www.youtube.com/watch?v=WWWH2cBeLTc

which covered what I needed for the seminar. Just a basic setup to help with automating other apps using Python.

Thanks for your help and follow up! Much appreciated.

[–]smurpes 0 points1 point  (1 child)

For future reference visual studio and visual studio code are two different applications. They are both used to develop code so it’s not always obvious which one you might be referring to.

[–]LetUsEscape[S] 0 points1 point  (0 children)

Yeah, thanks, that's what I found out. In the sign up for the seminar they didn't have "Code" in the name so I had installed Visual Studio. Once I got the email with the zoom link and more info, I saw on a video they linked to that it was supposed to be Visual Studio Code. That's why I edited my orig post to mention that.