You're viewing a single thread.
All comments
94
comments
I hate that I need to use escape characters when creating something for windows.
92 0 ReplyPython raw strings to the rescue!
29 0 ReplyPathlib is the answer.
38 0 ReplyNobody is stopping you from using forward slashes. Python will translate the path for the current platform.
16 0 ReplyPython doesn't have to. Windows supports both out of the box. Has been for many, many years
3 0 Reply
Try pathlib. All your problems solved.
16 0 Reply
94
comments
Scroll to top