I have several .py files in a directory that I would like to import at run time. Each file contains a state machine that requires to be run in its own thread.
The first problem I have is how can I import the code in all of the .py files without knowing the file names in advance. Can this be done ?? TIA -- http://mail.python.org/mailman/listinfo/python-list