mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-31 01:41:27 +08:00
9065e2fbb9
batch Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
25 lines
639 B
Markdown
25 lines
639 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/en/stable/config/options/index.html>.
|
|
|
|
- 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`
|