On Tue, 2002-11-26 at 05:22, Tino Wildenhain wrote:
> 
> Oh, while we are at it - how do I set an environment variable in a python 
> script
> for use outside the script? E.g. like "export" does in shell scripts?

Not from a Zope Python Script (it's restricted by the security
machinery) but from any other piece of Python:

import os
os.environ['NAME] = 'VALUE'



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to