# ############################################################################ # # # # ::: :::::::: # # __init__.py :+: :+: :+: # # +:+ +:+ +:+ # # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:48 by charles #+# #+# # # Updated: 2020/07/15 18:24:48 by charles ### ########.fr # # # # ############################################################################ # import os import glob modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py")) __all__ = [os.path.basename(f)[:-3] for f in modules if os.path.isfile(f) and not f.endswith("__init__.py")] print(__all__)