My modules doesn't seem to reload in IIS asp pages

Max M maxm at normik.dk
Tue Oct 23 09:54:56 EDT 2001


I am writing .asp pages with Python, and my modules doesn't seem to reload.

I see changes i make in the html when editing the page, but changes I make
in the modules does not go through.

Isn't this correct?

<%@ LANGUAGE="Python"%>
<%
import marcipan
reload(marcipan)
from marcipan.Receipees import Receipees, Categories

# stuff
rcps = Receipees()
id = Request(rcps.getKey())
if str(id) != 'None':
    rcp = rcps.getOneById(id)
else:
    rcp = rcps.getNew()
%>

Win2K, SP2, Python2.11

regards Max M





More information about the Python-list mailing list