I need to use the interactive prompt to interpret interactively code that depends on functions and clases in a certain module. In "desktop" interpreter I use :
python -i amodule.py
Other way in standard python is to start the interpreter and import the module and then the python interpreter continues accepting input.
In Pythonista I do not know how easily do the same as:
1.- I do not know how to stop and restart the interpreter (interactive prompt)
2.- reload() function seems broken. Never find the required module (of course previously imported)
3.- So I have only a opportunity to import a module and to reload I need to exit Pythonista. Even sys.exit() seems have no effect.
Thanks in advance.