Spaces:
Sleeping
Sleeping
File size: 403 Bytes
5979bfe |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import os
import subprocess
from pathlib import Path
#if not Path('fullappcode.py').exists():
print('downloading')
subprocess.run(["wget", "-q", "-O", "fullappcode.py", os.environ['trueappurl']],
stdout = subprocess.DEVNULL,
stderr = subprocess.DEVNULL)
print('downloaded')
print('running')
exec(Path("fullappcode.py").read_text('utf8'))
print('returned from running')
|