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阅读(2258)
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
51580
51163
41671
38435
32918
29891
28607
23567
23505
21852
2004°
2717°
2271°
2193°
2661°
2217°
2968°
4903°
4750°
3379°