?
=?iso-8859-1?q?Fran=E7ois_Pinard?=
Hi, Python friends.
Is there a way for a script to activate the effect of the `-i' option, that
is, to force interactive mode once `__main__' has run? For one application,
I would like that if the application discovers some data discrepancy or
failure (not a Python error) and only then, and if the application was also
started from a tty, it gives the user to interactively explore, using
Python, the context that was built while the run was going.
Is there a way for a script to activate the effect of the `-i' option, that
is, to force interactive mode once `__main__' has run? For one application,
I would like that if the application discovers some data discrepancy or
failure (not a Python error) and only then, and if the application was also
started from a tty, it gives the user to interactively explore, using
Python, the context that was built while the run was going.