[python-win32] Restarting Python interpreter used by Classic ASP?

Mark Hammond skippy.hammond at gmail.com
Mon Apr 20 01:15:45 CEST 2009


Jason Baker wrote:
> I've got some Python code that needs to interact with some Classic ASP 
> code.  So I've got some Python Classic ASP files that import other 
> Python modules.  What I would like to do is find a way to restart the 
> Python interpreter so that I can force it to reload all loaded modules. 
>  However, I don't really seem to be able to find any way to do this 
> without restarting all of IIS.
> 
> Is there any way to do what I want to do?

No - although the 'reload' builtin still works in an ASP environment.

Cheers,

Mark



More information about the python-win32 mailing list