import sys print(sys.version)
或者
help()
如何查看python版本号?
原文:http://www.cnblogs.com/theodoric008/p/7905978.html