On 2 Oct 2006 08:56:09 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > js: > > All I want to do is to sort out a list of url by companyname, > > like oreilly, ask, skype, amazon, google and so on, to find out > > how many company's url the list contain. > > Then if you can define a good enough list of such company names, you > can just do a search of such names inside each url. > Maybe you can use string method, or a RE, or create a big string with > all the company names and perform a longest common subsequence search > using the stdlib function.
well, I think list is so large that that's impossible to create such a good company-list. -- http://mail.python.org/mailman/listinfo/python-list