Skip to content

Instantly share code, notes, and snippets.

@maliciousgroup

maliciousgroup/__init__.py Secret

Created Apr 7, 2021
Embed
What would you like to do?
import glob
from os.path import dirname, basename, isfile, join
modules = glob.glob(join(dirname(__file__), "*.py"))
__all__ = [basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment