Boolean parser..

timaranz at gmail.com timaranz at gmail.com
Thu Oct 4 22:00:39 CEST 2007


On Oct 5, 7:29 am, Abandoned <best... at gmail.com> 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.




More information about the Python-list mailing list