On Monday 23 July 2007 16:45:15 Jesse James wrote: > which python reference (url?) are you speaking of? > how does 'import_fullname' work? how would it be applied?
aaah, u are _that_ new... - use it instead of the __import__() func - original python library reference of the version u use; e.g. http://docs.python.org/lib/built-in-funcs.html wow there's a level parameter now... somethin to try > On Jul 21, 11:35 am, [EMAIL PROTECTED] wrote: > > > In other words, should I first attempt to > > > __import__('vor.'+modname) in runJob() ? > > > > see the python reference about how to use __import__ over > > hierarchical paths, or use this instead > > > > def import_fullname( name): > > m = __import__( name) > > subnames = name.split('.')[1:] > > for k in subnames: m = getattr(m,k) > > return m --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---