Christian Heimes added the comment: Please use os.path.expanduser(os.path.join("~", user_filename)) ---------- nosy: +tiran __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue2166> __________________________________