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/)