1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:02:07 +02:00
tldr/pages/common/ipython.md
2021-09-23 16:57:27 -03:00

24 lines
603 B
Markdown

# 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>.
- Start a REPL (interactive shell):
`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`