Antoine Pitrou <pitrou at free.fr> added the comment: Except that dirname() isn't a one-liner, so you are giving rather bad advice here. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11344> _______________________________________