编辑python文件
[root@localhost ~]# vim hello.py
#!/usr/bin/python3
print ("hello")
:wq
[root@localhost ~]# chmod +x hello.py
[root@localhost ~]# ./hello.py
编辑python文件
[root@localhost ~]# vim hello.py
#!/usr/bin/python3
print ("hello")
:wq
[root@localhost ~]# chmod +x hello.py
[root@localhost ~]# ./hello.py
本文标题:linux执行python
本文链接:https://www.haomeiwen.com/subject/byrcqdtx.html
网友评论