6

Python 第一天 “hello world”

 3 years ago
source link: https://ii74.com/post/2.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Python 第一天 “hello world”

哎哎6年前 (2015-12-19)Python1904

1:安装 python 2.7  (目前仅接触2.7 未来将会到3.0)

如果是在windows 下使用  访问   https://python.org 即可

01.png

2:使用notepad++编写第一个python 脚本 务必开启显示空格与制表符

02.png

3:输入 print 'hello world' 即可

03.png

4:运行结果

04.png

使用notepad++时 需要安装的插件

点击插件,选择插件管理

201512198593_1244.png

然后找到 Pynpp 这个插件

102.png

点击安装  即可

201512197199_6318.png

使用 ALT+SHIFT+F5 即可运行

104.png

阅读剩余的32%

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK