zl程序教程

您现在的位置是:首页 >  后端

当前栏目

python

2023-09-27 14:25:24 时间

export PATH=$PATH:/opsware/agent/bin/

 

2种方式运行 python

1. 

$ python test.py

2. 

#!/usr/bin/python 加在文件中

 

$ chmod +x test.py     # 脚本文件添加可执行权限
$ ./test.py