standalone python web server

Diez B. Roggisch deets at nospam.web.de
Thu Dec 27 07:29:05 EST 2007


eric schrieb:
> On Dec 27, 4:52 pm, Panos Laganakos <panos.lagana... at gmail.com> wrote:
>> On Dec 27, 7:41 am, eric <yung2... at gmail.com> wrote:
>>
>>> Hi all,
>>> I want to setup simple python web server and I want it to just unzip
>>> and run, without any installation steps (have no right to do it).
>>> I've tried to write by myself, however, I find I am getting into more
>>> details like processing image file, different file type(like FLV) ..
>>> etc. Any recommendation or tools suggested for me?
>>> Thanks,
>>> Eric
>> Django[1], has an internal webserver, you might wanna take a look into
>> it, as to how it's done. Other than that, Twisted[2], makes it pretty
>> easy to write one.
>>
>> [1]http://www.djangoproject.com
>> [2]http://twistedmatrix.com
> 
> thanks.
> Actually, I've considered to use django, however it required to run
> command (which I don't have right to do it)
>     python setup.py install
> 
> Btw, is it possible to use without running setup.py ?

For such cases you can use workingenv/virtualenv to create running 
python environments in directories of your choice. Then you can use the 
above commandline.

Diez



More information about the Python-list mailing list