Origin supports embedded Python versions 3.7.2 and 2.7. By default, it is Python version 3.7.2 running in Origin.
For information on setting the value of a LabTalk system variable, see this FAQ.
To run Python in the Python Console:
... to see which packages have been installed.
In this simple example, we will save our script to a .py file and execute the script from Origin's Script Window.
print ("Hello World!")
run -pyf "Hello.py"
The message "Hello World!" is returned to the Script Window (see run -pyf).
For information on installing packages in embedded Python, see this blog post.