lyroge
编写python程序时在第一行写上 #! /usr/python 

然后chmod u+x *.py 让脚本可以执行

执行时 ./*.py ( linux默认要运行当前目录的程序时,需要重新制定目录  ./ : 代表当前目录)

分类:

技术点:

相关文章: