osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to change '\\' to '\'


Jach Fong wrote:
> I get a string item, for example path[0], from path = os.get_exec_path()
> It's something like "\\Borland\\Bcc55\\Include"

It doesn't actually have double backslashes in it, that's just a
result of how the string is being displayed. No conversion is
needed.

-- 
Greg