Based on examples and formulas from http://en.wikipedia.org/wiki/Jaro-Winkler.
Useful for measuring similarity between two strings. For example if
you want to detect that the user did a typo.
def jarow(s1,s2):
""" Returns a number between 1 and 0, where 1 is the most similar
examp
Thanks for the useful comments.
On 20 Des, 01:38, John Machin wrote:
> On Dec 20, 10:02 am, Øyvind wrote:
>
> > Based on examples and formulas
> > fromhttp://en.wikipedia.org/wiki/Jaro-Winkler.
>
> For another Python implementation, google "febrl".
>
I am trying to visit a limited amount of web pages that requires
cookies. I will get redirected if my application does not handle them.
I am using urllib.urlopen() to visit the pages right now. And I need a
push in the right direction to find out how to deal with pages that
requires cookies. Anyone