import pkg dir(pkg)
such an operator in python will not show all classes / functions / subpackages in the pkg package, because some of them can be loaded just in time. So what is the best way to learn the package in python?
Try pydoc
pydoc package
It’s the same as calling a help function, but you can do it from the command line, and of course you can go to the module, class or level of the function using dot notation.
Read the source, read the module documents.
You can use help(pkg)either explicitly the document, if available.
help(pkg)
Source: https://habr.com/ru/post/1773337/More articles:Combining jQuery with PHP - jqueryJQuery user interface buttons and anchor tags - jqueryМышление Sphinx для поиска по всей программе: фильтрация по атрибуту, который существует только в некоторых моделях - searchfree () without malloc or calloc - cHow to run Perl Script from Cmd without typing "perl" before the Script path? - windowsQuestion about org.apache.commons.dbcp.BasicDataSource - apache-commonsSkybox OpenGL ES iPhone and iPad - iphoneHow can I allocate a week in Oracle using a custom first day of the week? - oracleCollapsed Markers on Google Maps with MarkerClusterer - google-mapsSkybox with OpenGL ES on iOS - NO GLKit + iOS 5.0 - iosAll Articles