Back
It seems they canceled in Python 3 all the easy way to quickly load a script by removing execfile()
execfile()
Is there an obvious alternative I'm missing?
Use this exec(open("./filename").read()) instead of this execfile("./filename")
30.9k questions
32.9k answers
500 comments
665 users