From 8f8b8214bc644bbba6fb953646a5b8d10ee38560 Mon Sep 17 00:00:00 2001 From: Joachim Date: Sun, 8 Dec 2019 16:32:58 +0100 Subject: [PATCH] ipython: add page (#3643) --- pages/common/ipython.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/ipython.md diff --git a/pages/common/ipython.md b/pages/common/ipython.md new file mode 100644 index 0000000000..bf74cd96f5 --- /dev/null +++ b/pages/common/ipython.md @@ -0,0 +1,24 @@ +# IPython + +> A Python shell with automatic history, dynamic object introspection, easier configuration, command completion, access to the system shell and more. +> More information: https://ipython.org/documentation.html. + +- Start an interactive IPython session: + +`ipython` + +- Enter an interactive IPython session after running a Python script: + +`ipython -i {{script.py}}` + +- Create default IPython profile: + +`ipython profile create` + +- Print the path to the directory for the default IPython profile: + +`ipython locate profile` + +- Clear the IPython history database, deleting all entries: + +`ipython history clear`