Führen Sie die Python -Datei im interaktiven Modus aus
exec(open("./filename").read())
#this works for python3 and not 2
Victorious Vole
exec(open("./filename").read())
#this works for python3 and not 2