You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How can I load extern py file inside bpython session #804
I can use bpython -p test.py to load the test.py file into the bpython session then use the functions in the file, but how can I load the external python file into the current bpython session like %load /path/test/py of ipython?
Activity
supakeen commentedon Apr 11, 2020
We don't have a direct feature to do this right now though it seems like it would be a good idea to add one. I'll take a look.
thomasballinger commentedon Apr 13, 2020
See also
bpython -i test.py, which is similar to the behavior you're looking for (although in the middle of a session)