[Grok-dev] Creating an object from a path

Sebastian Ware sebastian at urbantalk.se
Fri Feb 6 09:38:01 EST 2009


If I have a string:

   "<class 'trigger.promotion.Promotion'>"

can I create an object of the type [trigger.promotion.Promotion]?

Mvh Sebastian





More information about the Grok-dev mailing list