Merge lp:~andrew-monkeysailor/python-snippets/ast-snippets into lp:~jonobacon/python-snippets/trunk
Proposed by
Monkeysailor
Status: | Needs review |
---|---|
Proposed branch: | lp:~andrew-monkeysailor/python-snippets/ast-snippets |
Merge into: | lp:~jonobacon/python-snippets/trunk |
Diff against target: |
51 lines (+35/-0) 2 files modified
AST/ASTcount.py (+34/-0) CATEGORIES (+1/-0) |
To merge this branch: | bzr merge lp:~andrew-monkeysailor/python-snippets/ast-snippets |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jono Bacon | Needs Fixing | ||
Review via email: mp+23144@code.launchpad.net |
Description of the change
Adds AST folder for AST module examples, includes an example based on finding import statements in a python file.
To post a comment you must log in.
Thanks for the snippet, pal!
I am getting:
Traceback (most recent call last): python- snippets/ AST/ASTcount. py", line 28, in <module> py","r" )
File "/usr/share/
f = open("parser.
IOError: [Errno 2] No such file or directory: 'parser.py'
could you take a look?