📌  相关文章
📜  python to mac 可执行文件 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:33.364000             🧑  作者: Mango

代码示例1
I have changed the mode by

sudo chmod +x file-name.py

Then Added the following line on top of the file-name.py

#!/usr/bin/env python

Then run the file by running ./file-name.py command and it works fine