Something Like os.environ['HTTP_REFERER']

Victor Subervi victorsubervi at gmail.com
Sun Dec 20 05:06:20 EST 2009


Hi;
I'm looking for something like os.environ['HTTP_REFERER'] but for python
scripts. That is, if I have a script that is imported by another script, how
can I have the script that is being imported determine which script imported
it?
TIA,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091220/0964d44e/attachment-0001.html>


More information about the Python-list mailing list