编写python程序时在第一行写上 #! /usr/python 然后chmod u+x *.py 让脚本可以执行 执行时 ./*.py ( linux默认要运行当前目录的程序时,需要重新制定目录 ./ : 代表当前目录) 相关文章: 2022-02-07 2021-12-24 2021-11-21 2022-01-03 2022-01-23 2022-12-23 2021-12-24 2021-07-19