上一页第 1 页 / 共 1 页下一页
在 【Python】第一课 中回复
首先,我们来安装Python。
2019-02-09T17:36:41 点赞:0
在 【Python】第一课 中回复
如果你是Linux系统,那么你可能已经安装了Python。
2019-02-09T17:38:03 点赞:0
在 【Python】第一课 中回复
在桌面按下Shift键+鼠标右键,打开命令提示符。
2019-02-09T17:39:52 点赞:0
在 【Python】第一课 中回复
然后输入
-----------------
$python |
-----------------
2019-02-09T17:41:10 点赞:0
在 【Python】第一课 中回复
成功时是这样的:
python2.7.6 (default, Feb 22 2019, 17:41:45)
[GCC 4.8.2] on linux2
Type "help", "copyright, "credits" or "license" for more information.
2019-02-09T17:47:04 点赞:0
在 【Python】第一课 中回复
这说明,你的Python是2.7.6版本的。
2019-02-09T17:47:54 点赞:0
在 【Python】第一课 中回复
但是,也有可能是有Python3。
2019-02-09T17:48:45 点赞:0
在 【Python】第一课 中回复
所以,再次输入:
-----------------
$python3 |
-----------------
2019-02-09T17:49:10 点赞:0
在 【Python】第一课 中回复
可能是这样的:
python3.5.0 (default, Feb 22 2019, 17:41:45)
[GCC 4.8.4] on linux
Type "help", "copyright, "credits" or "license" for more information.
>>>
2019-02-09T17:50:07 点赞:0