I am using PTPython to interactively debug my app. When embedding PTPython in my app, how do I support reading the PTPthon config file?
According to the example PTPython config file, in Linux the PTPython config file should be located at the path ~/.config/ptpython/config.py
I'm embedding PTPython using the following:
from ptpython.repl import embed
embed(globals(), locals(), vi_mode=False)
Based on this example, I've found the following will read my PTPython config file: