Suppose I have a python script called a.py like this:
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Author : Bhishan Poudel # Date
Try this chmod +x *.py it works on my PC(OS:Ubuntu 20.4), Also i am using #! /usr/bin/env python3 shebang