python script print version of python code example Example: python print version import sys print(sys.version)