mod_python bytecompiling

Fredrik Lundh fredrik at pythonware.com
Wed Mar 29 04:59:41 EST 2006


"mneagul" wrote:

>    I am writing a small program using mod_python publisher extension. I
> have created several python files and imported them in a `main' file.
>    How can I stop mod_python to byte compile the files? I want to make
> changes to the files and see result imediately!
>
>    In the current setup only the changes to the `main' file are applied
> imediately. I is nearly imposible to develop an application this way.
>
>    I want to mention that I'm a newby to mod_python.

the FAQ has the answer:

    http://www.modpython.org/FAQ/faqw.py?req=show&file=faq03.001.htp
    "Q. My module imports other modules - how do I reload those?"

(another approach, used by several frameworks, is to use a stand-alone
test server for development, and mod_python for deployment)

</F>






More information about the Python-list mailing list