Curious to see alternate approach on a search/replace via regex

Roy Smith roy at
Wed Feb 6 22:54:49 CET 2013

In article <mailman.1425.1360186878.2939.python-list at>,
 rh <richard_hubbe11 at> 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.

More information about the Python-list mailing list