import subprocess subprocess.call(["python", "Uploads/upload.py"]) print("end of script")