On Wed, 2004-12-22 at 11:50 +0000, Paul Goodyear wrote:
> Working.
> From myDB.ObjectsT import *
> Changed to
> Import myDB.ObjectsT
> And
> Obj = ObjectsT.CreateMain()
> To
> Obj = myDB.ObjectsT.CreateMain()
> Working a treat.
You could also do:
from myDB import ObjectsT
obj = ObjectsT.CreateMain()
peace,
Jason
|