Sort by domain name?

jay graves jaywgraves at gmail.com
Mon Oct 2 11:56:17 EDT 2006


gene tani wrote:
> Plus, how do you order "https:", "ftp", URLs with "www.", "www2." ,
> named anchors etc?

Now is a good time to point out the urlparse module in the standard
library.  It will help the OP with all of this stuff.

just adding my 2 cents.

...
jay graves




More information about the Python-list mailing list