Importing my package shows 'os' as submodule of my package. Example: Suppose I have a package with the following structure:
-- setup.py
-- my_package
|-- __init__.py
|-- example.py
example.py could be:
import os
def helloWorld():
print('Hello World')
The package is installed using python setup.py install.
When further using import my_package I find my_package.example.os. How can I avoid 'os' from appearing as submodule?
I use python 2.7