25 lines
634 B
Markdown
25 lines
634 B
Markdown
|
|
# ipython
|
||
|
|
|
||
|
|
> 자동 히스토리, 동적 객체 탐색, 쉬운 설정, 명령 자동완성, 시스템 쉘 접근 등을 제공하는 Python 쉘.
|
||
|
|
> 더 많은 정보: <https://ipython.readthedocs.io/en/stable/config/options/index.html>.
|
||
|
|
|
||
|
|
- REPL 시작 (대화형 쉘):
|
||
|
|
|
||
|
|
`ipython`
|
||
|
|
|
||
|
|
- Python 스크립트 실행 후 대화형 IPython 세션 진입:
|
||
|
|
|
||
|
|
`ipython -i {{script.py}}`
|
||
|
|
|
||
|
|
- 기본 IPython 프로파일 생성:
|
||
|
|
|
||
|
|
`ipython profile create`
|
||
|
|
|
||
|
|
- 기본 IPython 프로파일 디렉터리 경로 출력:
|
||
|
|
|
||
|
|
`ipython locate profile`
|
||
|
|
|
||
|
|
- 모든 기록을 삭제하여, IPython 히스토리 데이터베이스 초기화:
|
||
|
|
|
||
|
|
`ipython history clear`
|