In article <mailman.1425.1360186878.2939.python-l...@python.org>,
 rh <richard_hubb...@lavabit.com> wrote:

> I am curious to know if others would have done this differently. And if so
> how so?
> 
> This converts a url to a more easily managed filename, stripping the
> http protocol off. 

I would have used the urlparse module.

http://docs.python.org/2/library/urlparse.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to