Say I have a folder called commands and inside it are files lets say jump.py, move.py, slide.py and inside each of those files are functions that match the file names minus the extension of course. how would I go about dynamically importing all those functions ?
Say I want to use them like so
for cmd in commands_list:
add_command(cmd)