[Zope] How to the caller page within a Python script

Vitor Varalonga vpedrosa@ciberbit.pt
Fri, 11 Oct 2002 17:29:30 +0100


--------------3A3A70B0982B0AB93E2ACFC4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

    Hi!


    I have several DTML documents that call the same python script.
    How can I know inside this Python script which was the document
that called it?
    Sorry for the beginners' question.


kind regards,

Vitor Varalonga

--------------3A3A70B0982B0AB93E2ACFC4
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>&nbsp;&nbsp;&nbsp; Hi!</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p><tt>&nbsp;&nbsp;&nbsp; I have several DTML documents that call the same
python script.</tt>
<br><tt>&nbsp;&nbsp;&nbsp; How can I know inside this Python script which
was the document</tt>
<br><tt>that called it?</tt>
<br><tt>&nbsp;&nbsp;&nbsp; Sorry for the beginners' question.</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p><tt>kind regards,</tt><tt></tt>
<p><tt>Vitor Varalonga</tt></html>

--------------3A3A70B0982B0AB93E2ACFC4--