mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 00:46:42 +00:00
Update cheatsheets
This commit is contained in:
29
ipython
Normal file
29
ipython
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user