Hi, I am trying to use import in an asp python page. If I have:
<%@ LANGUAGE = Python%> <% import myfile %> Then myfile can only be found if its in the root of the python install directory, e.g. c:\python23 and only if the file is called myfile.py and it contains python NOT asp code. If I have some python code and it is loaded by a webpage, if I make any changes to the code in myfile.py the changes do not come into effect unless I reboot my machine. I tried start/stop/start iis but that has no effect, I tried open/close/open and I tried the python reload() command. None of these had any effect. The only way I could get an asp-python file included was to use the asp include: <!--#include file="dumpform.asp"--> How can I get asp to pull python code from another directory and how can I make a change and not have to reboot for the change to be invoked? Can I use import with an asp page? Many thanks Simon _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32