Lists and split

Skip Montanaro skip at pobox.com
Tue May 7 12:34:49 EDT 2002


    magni> I want to split an external file into 3 single terms!
    magni> protocol, host, path for example
    magni> The file contains urls in form :
    magni> ftp://home.arcor.de/user/index/
    magni> http://www.python.org/index.html

Start with the urlparse module.  Go from there...

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)





More information about the Python-list mailing list