<filename>fotahub.py
#!/usr/bin/env python
import sys
if sys.version_info[0] < 3:
    print('ERROR: This program requires Python 3')
    sys.exit(1)

import fotahubclient.cli.main as fotahub

if __name__ == '__main__': 
    sys.exit(fotahub.main()) 
<filename>fotahub.py
#!/usr/bin/env python
import sys
if sys.version_info[0] < 3:
    print('ERROR: This program requires Python 3')
    sys.exit(1)

import fotahubclient.cli.main as fotahub

if __name__ == '__main__': 
    sys.exit(fotahub.main()) 
#!/usr/bin/env python