It works, I tried it. I haven't tried it with anything else than filenames, though. See [docs](http://docs.python.org/2/library/urlparse.html), there is even an example with filename:

```python
>>> urlparse('help/Python.html')
ParseResult(scheme='', netloc='', path='help/Python.html', params='', query='', fragment='')
```