My use case is I want to initialize some functions in a file and then start up ipython with those functions defined. Is there any way to do something like
i
You seem to be looking for ipyhton's %run magic command.
By typing in ipython:
%run hello_world.py
you'll run the hello.py program saved in your home directory. The functions and variables defined in that script will be accessible to you too.