Importing Modules

Walter Brunswick walterbrunswick at sympatico.ca
Wed Nov 2 06:01:53 CET 2005


The purpose is rather irrelevant. The modules could be used for an assortment of tasks.

By conditionals I mean if the name of a module contains a substring, such as "asdf" (i.e. "asdf" in module) or matches a pattern of 
some sort, for example, all modules which match the regex "module[\d]+\.py", which could be "module5.py" or "module11199.py" or 
"module345.py". 





More information about the Python-list mailing list