<human>:  How do I load a file into the python console?
<bot>: Here is some code to load a file `file.py` into the python console

exec(compile(open('file.py').read(), 'file.py', 'exec'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.