There's a way to use a Python class inside zope?

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()

I'm using zope 2.7.x series.

Thanks in advance.

Fernando Lujan
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to