snippetbashTip
ipython — A Python shell with automatic history, dynamic object introspection, easier configuration, command c
Viewed 0 times
shellcommandipythonpythonhistorycliautomaticwith
Problem
How to use the
ipython command: A Python shell with automatic history, dynamic object introspection, easier configuration, command completion, access to the system shell and more. More information: <https://ipython.readthedocs.io/en/stable/config/options/index.html>.Solution
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.readthedocs.io/en/stable/config/options/index.html>.Start a REPL (interactive shell):
ipythonEnter an interactive IPython session after running a Python script:
ipython -i {{script.py}}Create default IPython profile:
ipython profile createPrint the path to the directory for the default IPython profile:
ipython locate profileClear the IPython history database, deleting all entries:
ipython history clearCode Snippets
Start a REPL (interactive shell)
ipythonEnter an interactive IPython session after running a Python script
ipython -i {{script.py}}Create default IPython profile
ipython profile createPrint the path to the directory for the default IPython profile
ipython locate profileClear the IPython history database, deleting all entries
ipython history clearContext
tldr-pages: common/ipython
Revisions (0)
No revisions yet.