Colin J. Williams wrote:

C:\XXX is required, C:XXX is not acceptable.

C:XXX is acceptable, it just means something entirely different from C:\XXX. There is a current working directory on each drive. C:XXX is file XXX in the current directory on drive C:.

How should os.path.join('C:', 'ugh') be treated?

Exactly as it is? If you want other behavior, you want os.path.join('C:\\', 'ugh'). -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to