Oneliners?
Fredrik Lundh
fredrik at pythonware.com
Thu Jul 15 07:20:41 EDT 1999
More information about the Python-list mailing list
Thu Jul 15 07:20:41 EDT 1999
- Previous message (by thread): 18 and Over Please 99894
- Next message (by thread): Oneliners?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thomas S. Strinnhed <thstr at serop.abb.se> wrote: > I heard there was a webserver in one line of Perl, > does Python match that (or two or three...)? how about: from asyncHTTPServer import *; HTTPServer(80, FileSource("/web")); mainloop() (one line, three statements) writing the asyncHTTPServer module is left as an exercise (or you can wait for my Python/Tkinter book...) </F>
- Previous message (by thread): 18 and Over Please 99894
- Next message (by thread): Oneliners?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list