[Zope-dev] Name space in a Script (python)

Jeff jeff@thecolemans.ws
Wed, 6 Jun 2001 18:35:42 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_02ED_01C0EEB7.7E367D60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
I'm trying to get variables from the name space in a python script =
without much luck...=20
I think I am missing something very simple, but after hours of searching =
I'm at wits end.

This is what I am trying:
A DTML document has several properties defined on it.
It calls a python script that needs to access these properties.

No matter what I try, I can not get the properties from the calling DTML =
document in the python script...
What am I missing?

Thanks,
Jeff

------=_NextPart_000_02ED_01C0EEB7.7E367D60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to get variables from the =
name space in=20
a python script without much luck... </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I think I am missing something very =
simple, but=20
after hours of searching I'm at wits end.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This is what I am trying:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>A DTML document has several properties =
defined on=20
it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>It calls a python script that needs to =
access these=20
properties.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>No matter what I try, I can not get the =
properties=20
from the calling DTML document in the python script...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What am I missing?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jeff</FONT></DIV></BODY></HTML>

------=_NextPart_000_02ED_01C0EEB7.7E367D60--