Home

On Oct 4, 3:00 pm, timar...@gmail.com wrote:
> On Oct 5, 7:29 am, Abandoned <best...@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.

The pyparsing wiki has this online example:
http://pyparsing.wikispaces.com/space/showimage/searchparser .py.

-- Paul

previous
next

Re: Syntactical issue: should STL list Iterator be overloaded to a pointer to the current element?
Re: Newbie question about a web server
Re: Search path for python script
Re: 8 bit integer type
Re: tkinter question
Nasze Dzieci
Fundacja Hobbit
Krwinka
Niechciane i Zapomniane
Kidprotect