Python os.path.join inconsistency?
Mark Thornton
mark.p.thornton@ntlworld.com
Mon Aug 30 23:23:00 GMT 2004
Ken Dibble wrote:
> Live and Learn.
>
> I guess my limited experience (including not being a windows programmer)
> colored my perception.
>
> I had never been able to get any Windows variant I was exposed to,
> to accept a forward slash. So much for my recall device of
> Unix Forward, Windows Backward.
>
> Regards,
> Ken
>
It is the command line parsing which usually rejects (or gets confused
by) paths using '/' for the obvious reason that most Windows
applications use '/' as the option character. However if you quote the
path, then it will often work. E.g.
dir "c:/windows"
Regards,
Mark Thornton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list