[issue6193] urllib: ... IOError: ... unknown url type: 'c'

R. David Murray report at bugs.python.org
Thu Jun 4 21:33:36 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

Because in unix the filename starts with a '/', while in windows your
filename started with a 'C:'.  That looks like the urltype portion of a
url, and it isn't a valid one, so urllib correctly rejects it.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6193>
_______________________________________


More information about the Python-bugs-list mailing list