如何查看python的当前版本号
举报| 2015-01-12 14:30沙愒 | 浏览 8882 次
2015-01-12 14:40
提问者采纳
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
>>> help()Welcome to Python 2.7! This is the online help utility.If this is your first time using Python, you should definitely check outthe tutorial on the Internet at Enter the name of any module, keyword, or topic to get help on writingPython programs and using Python modules. To quit this help utility andreturn to the interpreter, just type "quit".To get a list of available modules, keywords, or topics, type "modules","keywords", or "topics". Each module also comes with a one-line summaryof what it does; to list the modules whose summaries contain a given wordsuch as "spam", type "modules spam".help> |
或者打开python shell:
|
1
2
3
4
|
ActivePython 2.7.2.5 (ActiveState Software Inc.) based onPython 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] on win32Type "copyright", "credits" or "license()" for more information.>>> |
或者cmd:
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
|
1
2
3
4
5
|
C:\Users\zhipeng>pythonActivePython 2.7.2.5 (ActiveState Software Inc.) based onPython 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] on win32Type "help", "copyright", "credits" or "license" for more information.>>> |
|
1
2
|
C:\Users\zhipeng>python --versionPython 2.7.2 |
-----------------------
Linux
-----------------------
|
1
2
3
4
5
|
zhangzhipeng@Earth:~$ pythonPython 2.6.6 (r266:84292, Nov 22 2013, 12:16:22)[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> |
|
1
2
|
zhangzhipeng@Earth:~$ python --versionPython 2.6.6 |
delphi lazarus opengl
网页操作自动化, 图像分析破解,游戏开发