dear python gurus, quick question on syntax.
i have a line of code like this for incident in bs('tr', {'bgcolor' : '#eeeeee'}): what i want it to do is look for 'bgcolor' : '#eeeeee' or 'bgcolor' : 'white' and then do a whole bunch of stuff. i've tried this: for incident in bs('tr', {'bgcolor' : '#eeeeee'} or {'bgcolor' : 'white'} ): but it only seems to pick up the stuff from the {'bgcolor' : '#eeeeee'} any ideas folks? thanks yaffa -- http://mail.python.org/mailman/listinfo/python-list