Steve Dower added the comment: expanduser() sounds like the better choice here. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue20523> _______________________________________