[Python-ideas] Options parsing in the Tornado Web Server

Andrey Fedorov anfedorov at gmail.com
Thu Sep 10 21:50:18 CEST 2009

I remember seeing a bit of discussion about improving Python's default
options parsing... Tornado's seems very impressive [1]:

> from tornado.options import define, options
> define("port", default=8888, help="run on the given port", type=int)
> print options.port
> What does everyone think?

- Andrey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090910/920d048c/attachment.html>

More information about the Python-ideas mailing list