<[EMAIL PROTECTED]> wrote: > Hi, > > How can I put multiple condition in if statement? > > I try this, but I can't get that to work. > > if ( (str != " ") && (str != "") ):
Why would you WANT to conjoin two instances of the SAME check...?! Anyway, use 'and' -- there's no such thing as '&&' in the Python language! Alex -- http://mail.python.org/mailman/listinfo/python-list