This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Python os.path.join inconsistency?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]