11 Sep
2004
11 Sep
'04
7:15 p.m.
Bill Hewitt wrote at 2004-9-10 19:45 -0700:
I have two Python Products, Virtual_site and Virtual_Misc in the lib/python/Products directory....
In Virtual_Site, I have a Python module called Campus and inside it, I have a Class called Campus.....
In Virtual_Misc, I have a Python module called Misc and inside it, I have a Class called Misc and several methods.....
I have been trying to import the methods from Virtual_Misc.Misc into Virtual_Site.Campus - but everytime I try to import I get an error....
Which one? How do you import? I do this routinely: from Products.MyProduct.MyModule import MyClass It works fine. -- Dieter