DEV Community

Discussion on: Better way to handle paths in python

Collapse
 
juancarlospaco profile image
Juan Carlos

The problem with pathlib is that is very very slow,
pathlib can be more than 25 ~ 50x slower than a normal str.

Collapse
 
dillir07 profile image
Dilli Babu R

That true, but for most of our normal use cases this shouldn't be a problem, unlike performance critical code. Thanks for the link :)