it depends what names are available on top level
Here is the
https://foss.heptapod.net/openpyxl/openp..._init__.py
In other words - it's a decision of the developer how to organise their code and what names to be exposed top level.
>>> import openpyxl >>> dir(openpyxl) ['DEFUSEDXML', 'LXML', 'NUMPY', 'Workbook', '__author__', '__author_email__', '__builtins__', '__cached__', '__doc__', '__file__', '__license__', '__loader__', '__maintainer_email__', '__name__', '__package__', '__path__', '__spec__', '__url__', '__version__', '_constants', 'cell', 'chart', 'chartsheet', 'comments', 'compat', 'constants', 'descriptors', 'drawing', 'formatting', 'formula', 'load_workbook', 'open', 'packaging', 'pivot', 'reader', 'styles', 'utils', 'workbook', 'worksheet', 'writer', 'xml']
load_workbook
is made available/is exposed on top levelHere is the
__init__.py
source codehttps://foss.heptapod.net/openpyxl/openp..._init__.py
In other words - it's a decision of the developer how to organise their code and what names to be exposed top level.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs