def get_html2(x): a = sears.get_cells(sears.cell1, x) b = sears.make_rows(a) return b
def get_html2(x): a = sears.get_cells( sears.cell1, x) b = sears.make_rows(a) return b
import sears print 100 * '--' a = sears.get('laptop') for i in a: for j in i.keys(): print j, ':', i[j] print ' ' print 100 * '--' b = sears.get_cells(a) for i in b: print i print 100 * '--' c = sears.make_rows(b) for i in c: print i print 100 * '==='
import sears print 100*'--' a = sears.get('laptop') for i in a: for j in i.keys(): print j,':',i[j] print ' ' print 100*'--' b = sears.get_cells(a) for i in b: print i print 100*'--' c = sears.make_rows(b) for i in c: print i print 100*'==='