SyntaxFix
Write A Post
Hire A Developer
Questions
Look at the pkgutil module from the standard library. It will let you do exactly what you want as long as you have an __init__.py file in the directory. The __init__.py file can be empty.
__init__.py