I'm wondering how I would go about evaluating the definitions of a python file in the directory my IPython REPL is running in. This would seem like a great workflow to be able to test the functions I just wrote inside the REPL.
This doesn't work:
with open('file.py') as f: eval(f.read())