Python reflection and loading/calling external module classes

cmckenzie mckenzie.c at gmail.com
Tue Dec 1 15:56:35 EST 2009


Hi! I've been putting off playing with Python for sometime now and I
recently came up with a worthwhile project for my first hack. One
technical challenge I'm trying to work out is dynamically loading
modules from a directory (glob'd for a specific filename format) then
importing them for calling later.

Basically my modules follow this structure:

class sample():



More information about the Python-list mailing list