¡@

Home 

python Programming Glossary: ply

pip fails to install packages from requirements.txt

http://stackoverflow.com/questions/11015692/pip-fails-to-install-packages-from-requirements-txt

0.23.1logilab common 0.57.1 netaddr 0.7.6 numexpr 2.0.1 ply 2.5 pycallgraph 0.5.1 pyflowtools 0.3.4.1 pylint 0.25.1 tables..

Using ast and whitelists to make python's eval() safe?

http://stackoverflow.com/questions/12523516/using-ast-and-whitelists-to-make-pythons-eval-safe

input using a subset of python's syntax. I know use ply or pyparsing and write a parser and there we go. Screwing around..

Parsing SQL with Python

http://stackoverflow.com/questions/1394998/parsing-sql-with-python

sql most of the syntax you will not need . I did not like ply as it uses some magic using naming conventions. In short give..

Python/YACC: Resolving a shift/reduce conflict

http://stackoverflow.com/questions/2939888/python-yacc-resolving-a-shift-reduce-conflict

Rule 9 course DEPT_CODE COURSE_NUMBER python parsing yacc ply share improve this question Your basic problem is that you..

Python: How best to parse a simple grammar?

http://stackoverflow.com/questions/2945357/python-how-best-to-parse-a-simple-grammar

way to approach this problem python parsing nlp pyparsing ply share improve this question def parse astr astr astr.replace..

Python: make eval safe

http://stackoverflow.com/questions/3513292/python-make-eval-safe

For anything fancier I recommend a parsing package such as ply if you're familiar and comfortable with the classic lexx yacc..

Reading and running a mathematical expression in Python

http://stackoverflow.com/questions/400050/reading-and-running-a-mathematical-expression-in-python

doing this you can implement a tokenizer and a parser with ply . Evaluating a thing like '1 1' ought not take more than ten..

Does Django or mod_wsgi modify sys.path when it's running?

http://stackoverflow.com/questions/4269445/does-django-or-mod-wsgi-modify-sys-path-when-its-running

the path from PYTHONPATH. Library Python 2.6 site packages ply 3.3 py2.6.egg ... Library Python 2.6 site packages nose 0.11.4..

What sets up sys.path with Python, and when?

http://stackoverflow.com/questions/4271494/what-sets-up-sys-path-with-python-and-when

the following results. Library Python 2.6 site packages ply 3.3 py2.6.egg ... Library Python 2.6 site packages ipython 0.10.1..

Modules between multiple versions of Python Linux

http://stackoverflow.com/questions/4991366/modules-between-multiple-versions-of-python-linux

my linux machine. At the moment all the modules I have wx ply pyserial twisted to name a few are installed for the 2.6 version..

ANTLR get and split lexer content

http://stackoverflow.com/questions/5929797/antlr-get-and-split-lexer-content

for my framework which parsing CSS files. I try regex ply python lexer and parser but i found myself in ANTLR. First try.. inside your CSS grammar. Inside your CSS grammar you simply keep it as it is and your second parser is a dedicated comments..

Check if a geopoint with latitude and longitude is within a shapefile

http://stackoverflow.com/questions/7861196/check-if-a-geopoint-with-latitude-and-longitude-is-within-a-shapefile

I couldn't understand why he was doing a contains test on ply feat_in.GetGeometryRef in my testing things seemed to work just..

Parsing SQL with Python

http://stackoverflow.com/questions/1394998/parsing-sql-with-python

Are there other tools libraries I should look into Like PLY or Pyparsing . Pointers to articles books or source code that..

Emulation of lex like functionality in Perl or Python

http://stackoverflow.com/questions/160889/emulation-of-lex-like-functionality-in-perl-or-python

can any language functional also do this I did read about PLY and ANTLR here http stackoverflow.com questions 34081 parsing..

Python/YACC: Resolving a shift/reduce conflict

http://stackoverflow.com/questions/2939888/python-yacc-resolving-a-shift-reduce-conflict

YACC Resolving a shift reduce conflict I'm using PLY. Here is one of my states from parser.out state 3 5 course_data..

Python: How best to parse a simple grammar?

http://stackoverflow.com/questions/2945357/python-how-best-to-parse-a-simple-grammar

example 3. What is the best way to do this I started with PLY but I couldn't figure out how to resolve the reduce reduce conflicts... to resolve the reduce reduce conflicts. The advantage of PLY is that it's easy to manipulate what each parse rule generates..

Python function attributes - uses and abuses

http://stackoverflow.com/questions/338101/python-function-attributes-uses-and-abuses

of this feature in Python One good use I'm aware of is PLY 's usage of the docstring to associate a syntax rule with a..

Find the indexes of all regex matches in Python?

http://stackoverflow.com/questions/3519565/find-the-indexes-of-all-regex-matches-in-python

strings inside them I'm parsing code and trying to avoid PLY . I want to find out if a substring is quoted and I have the..

Parser generation

http://stackoverflow.com/questions/3976665/parser-generation

create a parser in Python you can look at these libraries PLY pyparsing and Lepl new but very powerful share improve this..

Efficient Context-Free Grammar parser, preferably Python-friendly

http://stackoverflow.com/questions/4543008/efficient-context-free-grammar-parser-preferably-python-friendly

for a CFG parser to replace NLTK. I've been considering PLY but I can't tell whether it supports feature structures in CFGs.. specifying a grammar. Can anybody show me an example of PLY both supporting feature structs and using a declarative grammar..