Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so you can assign an object whose str() evaluates to the current directory (or whatever).
Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so
you can assign an object whose str() evaluates to the current
directory (or whatever).

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator