I'm trying to import a function which is in a module inside a package in Python, but when I try:
from package.module import some_function
Python executes the package's __init__.py
but it can't happen.
Is there a way to import the function telling Python to ignore the package's __init__.py
?