[Zope] Python Classes and Zope.
Chris Withers
chris at simplistix.co.uk
Fri Dec 2 04:38:05 EST 2005
Fernando Lujan wrote:
> For instance, if I create the class:
>
> class MyClass:
> "A simple example class"
> i = 12345
> def f(self):
> return 'hello world'
>
> Can I invoke the following code inside a Python Script?
>
> x = MyClass()
> x.f()
Yes, but you shouldn't want to ;-)
> I'm using zope 2.7.x series.
Why? 2.8 is much much better...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list