PYTHON-查看模塊函數、函數的方法-如何學習python的模塊包

python官方文檔(能夠在這裏直接查詢須要或者不懂的模塊):

https://docs.python.org/zh-cn/3/index.htmlhtml

 如何學習python的模塊包:

https://blog.csdn.net/tandelin/article/details/103399100python

>>> dir(模塊名) #查看模塊下的全部函數
>>>help()函數來查看函數的幫助信息 
>>>help(module_name.func_name) or __doc__ 方法看模塊下特定函數的信息
>>> help('modules') #查看所安裝有哪些模塊

參考文檔:

http://www.javashuo.com/article/p-okfcozmy-hg.html函數

相關文章
相關標籤/搜索