I have background in PHP, dotNet and fascinated by Python. I want to gradually transfer functionality from PHP to Python, using bits and pieces side by side. During this transition, which may take 2 years from the moment the application is huge, I am tied to IIS. I have 15 years of web programming experience, including some C working in the IIS ISAPI module, which is the job that I no longer want to dive into.
Python seems to just not work on IIS. I struggled with FastCGI (not supported, only for PHP) and PyIsapie (poorly documented, could not start and run it). As a result, I got it and worked with the HeliconZoo BUT dll:
My next problem: how to debug / develop the site? In PHP, you install a debugger and whenever you have problems on your website, you just debug it, set a breakpoint, look at the code, check the clock, etc. It seems to me that this is the most rudimentary kind of developer work or troubleshooting. I bought WingIDE, which is a great tool and debugger, but for some reason it cannot connect to the Python instance in the IIS process, so there is no debugging. I noticed that Helicon runs Python with -O , so I even recompiled Python to ignore this flag altogether, but my debugger (WingIDE) just won't appear.
I can set up the PHP hello world website on IIS in half an hour, including loading time. I think I spent about 120 hours or more to get this working in Python to no avail. I bought Python Programming and Learning Python, which is about 3,000 pages. And I googled until I fell.
I think Python is a great language, but I'm on the verge of interrupting my attempts. Is there anyone who can give me step-by-step instructions on how to configure this on IIS7?
python iis
Robert Jul 25 '11 at 22:47 2011-07-25 22:47
source share