python中获取python版本号的方法

import platform
print platform.python_version()

原文地址:https://www.cnblogs.com/jiu0821/p/10760266.html