dtml-var in python

John Hunter jdhunter at ace.bsd.uchicago.edu
Wed May 7 16:19:57 EDT 2003


>>>>> "patrix" == patrix  <pheer at chello.nl> writes:

    patrix> How can i use or import a zope var <dtml-var Bjaar> in
    patrix> python i hope some one can help me

More info please:

Are you working in a Zope Python Script, an Zope External Method, or a
standalone python script.  If using a standalone script, you'll need
to use the ZOBD to access the zope data base.

>From within a zope Python Script, you should be able to access
variables as attributes of context, eg

context.Bjaar

JDH





More information about the Python-list mailing list