- There are two major verions of Python still active use: Python2 and 3
Effective Python
python --version
>>> import sys
>>> print(sys.version_info)
sys.version_info(major=3, minor=5, micro=0, releaselevel='final', serial=0)
>>> print(sys.version)
3.5.0 (default, Oct 11 2015, 02:40:20)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)]
Recommended Posts