consider replacing os.path uses with pathlib
See original GitHub issueThe standard python library pathlib
makes interactions with paths much easier. We should consider replacing the old os.path
with the pathlib functions
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:20 (12 by maintainers)
Top Results From Across the Web
Why You Should Start Using Pathlib as an Alternative ...
To do this, I typically use the os.path Python module to perform operations such as joining paths, checking the content of a directory, ......
Read more >Migrating from OS.PATH to PATHLIB Module in Python
In this article, I will go over the most frequent tasks related to file paths and show how you can refactor the old...
Read more >Is pathlib a viable replacement for os.path?
I think yes, pathlib can completely replace os.path, and using os.path has a taste of backward compatibility!
Read more >pathlib — Object-oriented filesystem paths
PEP 428: The pathlib module – object-oriented filesystem paths. See also. For low-level path manipulation on strings, you can also use the os.path...
Read more >Why you should be using pathlib
Python's classic os.path module is just for working with paths. Once you want to actually do something with a path (e.g. create a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @silvasara and I would like to work on this issue. Is this still relevant?
Feel free to take it @jps12 I’d suggest to split up in multiple pieces to make it easier to review e.g. doing < 200 lines of diff and then do a PR to the repository.