[Tutor] web-based python?

Hugo Arts hugo.yoshi at gmail.com
Sun Aug 1 20:39:00 CEST 2010


On Sun, Aug 1, 2010 at 8:28 PM, Alex Hall <mehgcap at gmail.com> wrote:
>
> Sure, but django would be quite helpful. I want to do more than just
> print, the point is to be able to handle form input, resize/position
> images, all that. Still, it is good to not have to go through the
> hastle of getting a straight answer from an iPowerWeb tech support
> person. Last time I asked them about my htaccess file they deleted it!

IIRC Some frameworks can work through CGI. Not django, I believe, at
least not officially. But it's worth googling around, there might be
some custom solutions.

> Is this line necessary? I ask because, on Windows, it is ignored, and
> I do not know the path to the server's Python interpreter even if it
> is required.

including it can never hurt. Linux systems sometimes need it. If you
replace /usr/bin/python with /usr/bin/env python, env will find the
python interpreter for you (assuming env is set up).

> Thanks. I assume all built-in functions will work. Would I be able to
> upload and use packages?

Sure, just put them in your path and you're good to go. Maybe put a
.htaccess so that it can't be accessed through http.

Hugo


More information about the Tutor mailing list