LinkedIn Reddit icon

Dunder Doc

by Valdir Stumm Jr

How to customize your IPython 5+ prompt

IPython is wonderful and I ❤️ it. I can’t see myself using the default Python shell in a daily basis. However, its default prompt kind of annoys me: Some of the things that I dislike: the banner displayed when we start it; the In[x] and Out[x] displayed for inputs and outputs; the newline in between commands; and last, but far from least, the uber-annoying “do you really want to exit?