0
What code goes in __init__.py file to make it a python package
I know, it can be blank. I assume that we can configure the package by putting some code in __init__.py. Any example of sample code in __init__.py file
1 Antwort
+ 1
see the code of the collections' __init__.py to satisfy your curiosity : it actually imports a C file to work with Python.
It is available by going to the docs and looking source code.