2010-08-06 2 views

답변

3

:

~ $ python 
Python 2.7 [...] 
>>> from IPython.Shell import IPShellEmbed 
>>> ipshell = IPShellEmbed() 
>>> ipshell() 

In [1]: 
1

장고 manage.py shell IPython 쉘을 호출하고는 다음과 같이 구현 것 : IPython를 내장의 recommended way 잘 작동

import IPython 

shell = IPython.Shell.IPShell() 
shell.mainloop() 
19

에서 IPython 0.11 API가있다 개폐가 완료되고 쉘이 호출하기가 더 쉽습니다.

import IPython 

IPython.embed() 
관련 문제