Add floordiv to pathlib.Path for strict append

I’m not even sure if I like this idea or not, but what about defining __abs__ on Path so you can use: abs(Path.home() / "my_file") ?

7 Likes