Skip to content

Instantly share code, notes, and snippets.

@fizx
Created October 26, 2009 16:26
Show Gist options
  • Select an option

  • Save fizx/218778 to your computer and use it in GitHub Desktop.

Select an option

Save fizx/218778 to your computer and use it in GitHub Desktop.
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyparsley import *
>>> p = PyParsley({'title': 'title'})
>>> p.parse(file = "test/yelp.html")
{'title': "\t\tNick's Crispy Tacos - Russian Hill - San Francisco, CA\n"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment