Hi,
I created a class and placed it into another file
then imported that file into my main script but it comes up saying that the
variable 'myclassname' doesn't exist.
Both files are in the same directory and the class works fine when used in
the same script.
Here is what I have. Can anyone
Hi all,
I write Python .ASP pages that import utility modules that I have also
written.
The utility modules need to access globally defined objects
such as the Session and Response objects.
They are defined in global scope, however.
How can I access these objects from the imported module ?
Th
Title: RE: Class defined in other file not working
Use the following line to instantiate a instance of Cloud in your stand alone program...
#import cloud w/ the new Cloud class
cloud = SDsimLib.Cloud('cloud',[1,2,10])
~
If you wanted to access Cloud directly in your namesp
Title: RE: Class defined in other file not working
Yea that
works. WHy the hell didnt it say that in any of the on line
tutorials!???
Thanx
Everyone.
-Original Message-From: Horkoff, Dave
[mailto:[EMAIL PROTECTED]]Sent: Thursday, May 30, 2002 10:17
AMTo: 'Jose Guevarra