📅  最后修改于: 2022-03-11 14:45:33.364000             🧑  作者: Mango
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