How do I check which version of python is runnning my script?
There are two environment in which you can check your python version.
Check the Python version on the command line:
Check the Python version in script at run time:
- Use the
>>> from platform import python_version
2. use the
>>> import sys