Move bpython reliance to main.py