[Tutor] VERY newbie question
Mon, 24 Jul 2000 10:42:41 +0100
> Why won't this work, and/or how can I get this to work?
> sys.path.append("C:\ + name")
Others have answered the question but it may be worth pointing out
that the forward slash path separator works in DOS/Windoze as well
as on Unix and avoids all the escaping issues:
sys.path.append('C:/' + name)
Someone told me that it also works on Macs but I can't confirm
that since I don't have access to one. Can anyone else confirm
the universality of '/' as a separator?
If so is this feature documented anywhere? I can't find it, but
it sure is helpful if true.