> BTW, there's an easy work-around for this special case: > > os.stat(os.path.join(r"c:\windows\system32", "user32.dll")) No matter what the decision is, there are always work-arounds. The question is what language suits the users most. Being able to specify characters by ordinal IMO has much less value than the a consistent, concise definition of raw strings has. > I think it's nice that you can use forward slashes on Windows - > makes writing code that works in both worlds (Unix and Windows) > a lot easier. But, as Thomas says: you can't. You may be able to do so when using the API directly, however, it fails if you pass the file name in a command line of some tool that takes /foo to mean a command line option "foo". Regards. Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4