Skip to content

Instantly share code, notes, and snippets.

@rsheldiii
Last active June 29, 2022 22:17
Show Gist options
  • Save rsheldiii/06595cb20275522b2aa6adecd832c6b0 to your computer and use it in GitHub Desktop.
Save rsheldiii/06595cb20275522b2aa6adecd832c6b0 to your computer and use it in GitHub Desktop.
Use exit and quit instead of exit() and quit() in the cPython REPL
exit.__class__.__repr__ = lambda self: self.__call__()
# ...
export PYTHONSTARTUP = ~/.pythonstartup.py
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment