![]() |
sponsored links |
|
|
sponsored links
|
|
|
3
11th October 17:45
External User
Posts: 1
|
Look at the second string. It has "\r" in the middle of it where you
really want "\\r" (or alternatively r"c:\ret_files"). -- Robert Kern rkern@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |
|
|
5
19th October 01:28
External User
Posts: 1
|
Did you actually look at the docs Fredrik pointed you at? Did you,
in particular, notice os.path.basename, which does (almost) exactly what you want? -- \S -- siona@chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/ ___ | "Frankly I have no feelings towards penguins one way or the other" \X/ | -- Arthur C. Clarke her nu becomež se bera eadward ofdun hlęddre heafdes bęce bump bump bump |
|
|
8
7th December 03:56
External User
Posts: 1
|
Look at the second string. It has "\r" in the middle of it where you
really want "\\r" (or alternatively r"c:\ret_files"). -- Robert Kern rkern@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter |
|