Created
April 9, 2022 12:09
-
-
Save pointofpresence/d3b04e7e4a4c22233b8d546fad3124fd to your computer and use it in GitHub Desktop.
Python run random module
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
def run_random_module(modules): | |
module_name = random.choice(modules) | |
__import__(module_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment