cmckenzie wrote:
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():
Your message was cut-off before you finished, but the answer is
probably the built-in function __import_().
DaveA
--
http://mail.python.org/mailman/listinfo/python-list