Is it better to use a relative or absolute file path in Python, in both a situational setting and for best practice?
I know what both of them do, and I'm wondering if, for example, always using an absolute file path is better practice than using a relative file path, or if it depends.
And if it is a situational thing, when should you use one or the other?
source https://stackoverflow.com/questions/77695077/absolute-vs-relative-file-path-python
Comments
Post a Comment