高效Python90条之第1条 查询自己使用的Python版本 ¶ import sys # Get Python version, including GCC version. print(sys.version) # Show major Python folders print(sys.path) # Get detail Python version information print(sys.version_info)