Basic Question about Python WebServer File handling

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Jul 11 11:29:15 CEST 2008


En Thu, 10 Jul 2008 22:20:21 -0300, Alok Kumar <alokkat at gmail.com>  
escribi�:

> I need to have a python webserver which can handle Get request from the
> clients and upload the *files* from 4 different directories.
>
> Can someone please point me what to exactly look for.

Look at SimpleHTTPServer.py in the standard library - either use it as it  
is or subclass SimpleHTTPRequestHandler to suit your needs.

-- 
Gabriel Genellina




More information about the Python-list mailing list