RE: [Webware-devel] Import from another context

2004-12-22 Thread Paul Goodyear
Working. >From myDB.ObjectsT import * Changed to Import myDB.ObjectsT And Obj = ObjectsT.CreateMain() To Obj = myDB.ObjectsT.CreateMain() Working a treat. PaulG. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Goodyear Sent: 21 December 2004 17:0

RE: [Webware-devel] Import from another context

2004-12-22 Thread Jason Hildebrand
On Wed, 2004-12-22 at 11:50 +, 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.Crea