4 ms·
This is the best way to describe it. I wrote a few tools for my IT team a month or two back. I needed a Quick and Dirty web UI. How do I write some .py files t
by lhnn 15y ago
This is the best way to describe it.
I wrote a few tools for my IT team a month or two back. I needed a Quick and Dirty web UI. How do I write some .py files that output HTML, put them in a web directory, then goto http://server/tool.py http://server/tool.py?
It was just easier to use mod_php and rewrite the simple tools in PHP. Trust me, I REALLY wanted to use Python, but couldn't. To be fair, I didn't have superuser, but I did look for docs on how to do this for Python, and apparently isn't not easy. You have to use WSGI or something? I don't know.
My tool now works well, in PHP.
- jamesgeck0 15y agoPhusion Passenger is your Apache plugin and/or standalone server. It supports Python and is really easy to setup. Flask is your quick and dirty web UI. It comes with some of the best documentation I've ever seen. You need different knowledge than PHP, but I can't say that it's harder than PHP.