문제

최근에 IMDBPY 모듈을 다운로드했습니다.

import imdb
help(imdb)

나는 전체 문서를 얻지 못한다 .. 나는해야한다

im = imdb.IMDb()
help(im)

사용 가능한 방법을 보려면. 나는이 콘솔 인터페이스를 좋아하지 않는다. 문서를 읽는 더 좋은 방법이 있습니까? 나는 모든 문서와 관련된 것을 의미합니다 한 페이지의 모듈 IMDB..

도움이 되었습니까?

해결책

사용 PYDOC

pydoc -w imdb

동일한 디렉토리에서 imdb.html을 생성합니다.


pydoc -p 9090 포트 9090에서 HTTP 서버를 시작하면 모든 문서를 찾아 볼 수 있습니다. http : // localhost : 9090/

다른 팁

안에 IPYTHON 당신은 할 수 있습니다

[1]: import os
[2]: os?

< get the full documentation here >

# or you could do it on specific functions 
[3]: os.uname
<built-in function>



[4]: os.uname?

< get the full documentation here >


# Incase of modules written in python, you could inspect source code by doing
[5]: import string
[6]: string??

< hows the source code of the module >

[7]: string.upper??

< shows the source code of the function >
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top