Python, ASP - Namespace (again)

BeCe bece at bece.net
Mon Jul 5 06:23:26 EDT 1999


On Thu, 01 Jul 1999 11:18:23 GMT, nikolai.kirsebom at siemens.no (Nikolai
Kirsebom) wrote:

>The next time I checked the code written in my first message, it
>worked ok !!!!
>
>As I indicated in the message, I have one ASP file and two PY files.
>Updating the ASP file (saving it) followed by a refresh in the browser
>results in updated browser page content.  However, updating any of the
>PY files does not result in any changes in the browser output.  Could
>anyone answer when the PY modules are loaded.  I thought the PY
>modules automatically are reloaded if the datestamp of the *.py file
>is newer than the *.pyc file.

IIS does the same thing with include files, i.e. only when the .asp
timestamp changes it is reprocessed, the same thing happens with
python. If the code is inside the .asp it works fine, if the code is
outside (i.e. in a .py) you have to touch the .asp so it gets
reprocessed.

>I'm using the statement:
>
>from <module> import *
>
>How (if possible) would I reload explicitly such a module ?

Touching the .asp.





More information about the Python-list mailing list