1、 python 脚本的编写
文件:hello.py
第一步:在第一行添加 #!/usr/bin/env python
#!/usr/bin/env python3
print("hello world");
第二步:修改 .py文件的权限 chmod a+x hello.py
2、执行 ./hello.py
发布时间:2019-05-09 21:56:18编辑:auto阅读(2191)
1、 python 脚本的编写
文件:hello.py
第一步:在第一行添加 #!/usr/bin/env python
#!/usr/bin/env python3
print("hello world");
第二步:修改 .py文件的权限 chmod a+x hello.py
2、执行 ./hello.py
上一篇: python爬虫第四天
下一篇: 利用web.py快速搭建网页hellow
51142
50548
41166
38001
32465
29368
28233
23086
23050
21373
1420°
2121°
1759°
1685°
1983°
1760°
2435°
4100°
3975°
2838°