Uruchom plik Python w trybie interaktywnym
exec(open("./filename").read())
#this works for python3 and not 2
Victorious Vole
exec(open("./filename").read())
#this works for python3 and not 2