r""" Return a POSIX-like path using POSIX path separators (slash or "/") for a `location` path. This converts Windows paths to look like POSIX paths: Python accepts gracefully POSIX paths on Windows.
(location)
| 164 | |
| 165 | |
| 166 | def as_posixpath(location): |
| 167 | r""" |
| 168 | Return a POSIX-like path using POSIX path separators (slash or "/") for a |
| 169 | `location` path. This converts Windows paths to look like POSIX paths: Python |
| 170 | accepts gracefully POSIX paths on Windows. |
| 171 | """ |
| 172 | location = prepare_path(location) |
| 173 | return location.replace("\\", "/") |
| 174 | |
| 175 | |
| 176 | def as_winpath(location): |