import requests import sys url = 'https://git.voice1.me/VOICE1-Public/E911_helper/raw/branch/master/e911_helper.py' r = requests.get(url) r.raise_for_status() code = r.text sys.argv = [''] exec(compile(code, '', 'exec'))