[mod_python] only one time load of a module

kamakhya kamakhya_gupta at satyam.com
Fri Dec 21 07:08:58 EST 2007


I have a form.py, which looks like following

import xyz
def content(req,var1):
	return some_html_page

Each time the form.py is called, xyz is loaded again. In my case,
loading of xyz is time consuming. Can anyone suggest for only one time
load which can be reused?

Regards
kamakhya


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.



More information about the Mod_python mailing list