News for hackers. Stuff that matters.
Re:Show HN: Shareable reasons to upgrade to Python 3 by Osmose on Thursday August 10, 2017 @04:57PM (#14984182)
The `joinpath` method on Path objects works just as well. Also AFAIK pathlib.Path handles both forward and backslashes and does the right thing with them (assuming you don't have some very specific needs around, say, not accepting invalid slashes at all).
Re:Show HN: Shareable reasons to upgrade to Python 3 by Smaug123 on Thursday August 10, 2017 @05:01PM (#14984234)
Sure, `joinpath` may be the best thing since sliced bread. But I maintain that it's semantically perverse to use the division operator symbol to represent it.