This is a problem related to your implementation of Myobject, or a problem
in your testing of their values after instantiation. Webware does not change
the basic language structure of python in any way.

It's a bit off-topic, but if you post your code for "Myobject" then I, and
I'm sure others, will try and help you out.

Ben

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Randall
Randall
Sent: Wednesday, November 27, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] Newbie question


Hi, all.

I think I'm failing to understand something fundamental, here:

When, in my writeContent() in a Page class, I do
obj1 = Myobject.Myobject(stuff=1)
obj2 = Myobject.Myobject(stuff=2)

(having imported Myobject first), both obj1 and obj2 have
stuff=2.  Where did obj1 go?  How can I make a number of
the same object to put in my pages?

Thanks!

Randall Randall.



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to