>> Why is the first uglier than the second? YES THATS THE POINT. PYTHON CAN BE USED JUST LIKE A CONFIG FILE.
and if your users did timeout = "300" instead of timeout = 300 then either your config parser must be uber-smart and all-knowing, and check the types of key-value pairs, or your server would crash. either way is bad, and i prefer crash-on-use then know-everything-and-check-at-the-parser-level. good night, -tomer -- http://mail.python.org/mailman/listinfo/python-list