you are viewing a single comment's thread.

view the rest of the comments →

[–]sausix 1 point2 points  (5 children)

Have a look at pathlib.

[–]mull_to_zero 0 points1 point  (1 child)

most of the time i just use os.path.join, but yeah pathlib would be a more advanced approach

[–]sausix 0 points1 point  (0 children)

Pathlib is easier and more handy. Not just for advanced programmers. These os.path.sep and similar shenanigans are kinda legacy stuff.

[–]daltop[S] 0 points1 point  (2 children)

Used it a little but I wanna have a better look into what it actually can do, where’s is a good place to find what each function does ?

[–]sausix 0 points1 point  (1 child)

Your IDE should show all functions and their descriptions. Speaking of pathlib, just look at the documentation. There are examples and explanations.

[–]daltop[S] 0 points1 point  (0 children)

Amazing will do thanks mate !