How to grab a number from inside a .html file using regex

Νίκος nikos.the.gr33k at
Sat Aug 7 22:29:54 CEST 2010

On 7 Αύγ, 22:52, Thomas Jollans <tho... at> wrote:
> On 08/07/2010 09:36 PM, Νίκος wrote:
> > cookie.has_key('visitor') != 'nikos'
> This is always True. has_key returns a bool, which is never equal to any
> string, even 'nikos'.

if cookie.has_key('visitor') or'cyta', host) is None:

adresses the problem :-)

Thanks alot Thomas and MRAB for ALL your help!

More information about the Python-list mailing list