Hello,
Why does urlparse.urlspl it() succeed here ?
"""
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright" , "credits" or "license" for more information.
('c', '', '\\foo\\bar', '', '')
"""
Documentations (of urlparse(), referenced by urlsplit()) states:
"""
Parse a URL into six components, returning a 6-tuple. This corresponds to the general structure of a URL: scheme://netloc/path;parameters ?query#fragment .
"""
What kind of URLs does it parse not containing "://" ?
--
Patrick Mézard
Why does urlparse.urlspl it() succeed here ?
"""
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright" , "credits" or "license" for more information.
>>import urlparse
>>urlparse.urls plit('c:\\foo\\ bar')
>>urlparse.urls plit('c:\\foo\\ bar')
"""
Documentations (of urlparse(), referenced by urlsplit()) states:
"""
Parse a URL into six components, returning a 6-tuple. This corresponds to the general structure of a URL: scheme://netloc/path;parameters ?query#fragment .
"""
What kind of URLs does it parse not containing "://" ?
--
Patrick Mézard