This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients gavin, xtreak
Date 2020-04-13.10:50:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586775048.1.0.898229310883.issue40271@roundup.psfhosted.org>
In-reply-to
Content
You can use os.path.expanduser to expand tilde. Other os functions don't do it implicitly.

>>> import os
>>> os.path.exists("~/stuff")
False
>>> os.path.exists(os.path.expanduser("~/stuff"))
True
History
Date User Action Args
2020-04-13 10:50:48xtreaksetrecipients: + xtreak, gavin
2020-04-13 10:50:48xtreaksetmessageid: <1586775048.1.0.898229310883.issue40271@roundup.psfhosted.org>
2020-04-13 10:50:48xtreaklinkissue40271 messages
2020-04-13 10:50:48xtreakcreate