question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrating to PathLib instead of os.path

See original GitHub issue

The title. A lot of stuff are still using os.path to handle paths, when Pathlib seems to be more appropriate as more recent (and built-in, of course). In particular, pretty much everything within SceneFileWriter uses os.path.

Very easy PR 😉

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:21 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
raisultancommented, Sep 29, 2020

hi👋 @huguesdevimeux, I would love to help!

1reaction
Darylgoldencommented, Mar 23, 2022

Please go ahead!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating from OS.PATH to PATHLIB Module in Python
Migrating from OS.PATH to PATHLIB Module in Python · Joining paths · Get absolute path · Get current working directory · Check if...
Read more >
Why You Should Start Using Pathlib as an Alternative to the ...
In this post, I'm challenging this practice by introducing another path management library called Pathlib. We'll see how this library works, how ...
Read more >
Move to use pathlib instead of os.path and pathtools #556
This issue created for discuss about moving to use pathlib. I have a next questions about this: pathtools last updated in 2016, can...
Read more >
Migrating from OS.PATH to PATHLIB Module in Python - Reddit
I prefer pathlib over os.path mainly because you get better static analysis. Suppose we have the following two implementations of some function ...
Read more >
Python pathlib — an alternative to the OS module - Medium
As a bit of a programmer myself, I frequently work with paths as part of my job. And since you're here, I suppose...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found