On Oct 5, 7:29 am, Abandoned <[EMAIL PROTECTED]> wrote: > Hi.. > I try a boolean parser in python since 1 weak.. But i can't do this > because this is very complicated :( > Do you know any blooean parser script in python or how do i write a > boolean parser ? > example query: ((google or yahoo) or (live msn)) not web > I'm sorry my bad english. > King Regards..
Try the pyparsing module (google it) They have several examples. -- http://mail.python.org/mailman/listinfo/python-list