mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 12:06:00 +02:00
ipython: add page (#3643)
This commit is contained in:
parent
7941da3123
commit
8f8b8214bc
1 changed files with 24 additions and 0 deletions
24
pages/common/ipython.md
Normal file
24
pages/common/ipython.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue