from platform import python_version
print(python_version())
This will give you the exact version of python running your script. eg output:
3.6.5
from platform import python_version
print(python_version())
This will give you the exact version of python running your script. eg output:
3.6.5