How to grab a number from inside a .html file using regex
nikos.the.gr33k at gmail.com
Sat Aug 7 22:29:54 CEST 2010
On 7 Αύγ, 22:52, Thomas Jollans <tho... at jollans.com> 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 re.search('cyta', host) is None:
adresses the problem :-)
Thanks alot Thomas and MRAB for ALL your help!
More information about the Python-list