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