Created
August 28, 2023 06:47
-
-
Save PttCodingMan/cde1a71e0036074bc84bd99a7b815487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module = None | |
try: | |
if module is None: | |
module = importlib.import_module(f'module_folder.module') | |
else: | |
module = importlib.reload(module) | |
except Exception as e: | |
raise e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment