Skip to main content
10 events
when toggle format what by license comment
Jul 21, 2022 at 21:02 comment added Anson Savage To get the correct separator character, you should use os.path.sep.
Jan 3, 2022 at 10:05 history edited Gorgious CC BY-SA 4.0
deleted 60 characters in body
Jan 16, 2018 at 13:36 history edited p2or CC BY-SA 3.0
API links, formatting
S Feb 8, 2014 at 2:47 history edited Leon Cheung CC BY-SA 3.0
Minor edit: made first sentence more brief
S Feb 8, 2014 at 2:47 history suggested Garrett CC BY-SA 3.0
Minor edit: made first sentence more brief
Feb 8, 2014 at 2:23 vote accept Garrett
Feb 8, 2014 at 2:22 review Suggested edits
Feb 8, 2014 at 2:47
Feb 7, 2014 at 16:51 comment added CodeManX you missed to escape the backslash, edited your answer to show two ways to handle them. General note: with raw strings, you can't have a \ as last character, nor can you escape it like \\ (will be used literally, as double backslash, repr(r"\\") gives \\\\ ). [had to add a space after \ for stackexchange]
Feb 7, 2014 at 16:48 history edited CodeManX CC BY-SA 3.0
backslash escaping
Feb 7, 2014 at 15:11 history answered ideasman42 CC BY-SA 3.0