Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Basic manual instanciation can happen through __init__, but for standard 
use via ratebeer scraping, creation of an instance should occur via the 
static Brewery.parse

src/c/o/consume-rBeer-HEAD/src/getBreweries.py   consume-rBeer(Download)
import simplejson as json
import sqlite3
from Brewery import Brewery
 
def escape_q(aStr):
        try:
            print 'fetching', brewery
            this_brewery = Brewery(rb_id = brewery)
            this_brewery.parse()
        except IndexError: