[Zope] __init__ is not a valid variable name because it starts with a "_"
Fri, 28 Jun 2002 17:36:29 -0400
You can't really define classes in Python Scripts. It's easiest to
think of Python scripts like methods of the Folder in which they
live. If you need to define a class, you'll likely need to write a
----- Original Message -----
From: "Adrian May" <email@example.com>
Sent: Friday, June 28, 2002 4:31 PM
Subject: [Zope] __init__ is not a valid variable name because it
starts with a "_"
> Thats what zope said when I made a new python script and entered
> class AdsSecondClass:
> def __init__()
> blah blah
> as inspired by some example code.
> All I really want is to store four integers on the server and have
> updated by surfer actions.
> Thanks in advance,
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )