Unfortunately I am but another noob who is frustrated by my lack of understanding what are likely very basic concepts... So here it goes! I simply want to understand the concept behind me running the windows python version command in the .py file, and it not working, versus the same command being run directly in the command prompt, and the command working. To illustrate:
I write the command in the editor and run the script. The result is an error.
I run the same command directly into the terminal within VS Code. It works.
What concept am I missing here? I can print 'Hello World', but I cannot run the version command?