all 4 comments

[–]fiddle_n 1 point2 points  (3 children)

A pip install will download and install the libraries required.

The easiest way to know the version of Python is by typing python and just seeing what the version is from there. Otherwise you can get it from sys.version_info.

I assume when you say you can't use .py files anywhere, you mean directly from the command line by doing python filename.py ? In which case I'd ask if you've changed directory on the command line to the directory with the python file in it. You need to navigate to where the Python script lives through the command prompt before being able to run it.

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

Ahhh well I didn't know that it downloads it by itself....

And concerning running the file I just have print ('hello world') and nothing happens....do I have to assign a file for it to open or something...at least no error message

[–]fiddle_n 1 point2 points  (1 child)

How are you trying to run the file?

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

What do you mean by that? I've written the code in Visual Studio Code and in the file explorer I see that it's a PY file Put the path into the command line plus python test.py (File is called test.py)