linux与python

我们可以直接执行一个py文件 ./1.py   而不需要 python 1.py。

如何实现?

加权限

chmod 755 hello.py

posted @ 2016-11-26 18:22  notJoke  阅读(182)  评论(0编辑  收藏  举报