Skip to content

Instantly share code, notes, and snippets.


mgrouchy/ Secret

Last active February 19, 2019 02:16
What would you like to do?
import class from file.
__all__ = ['submodule1', 'submodule2']
# in your
from file import File
# now import File from package
from package import File
from package import *
from package.file import File
from subpackage import *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment