def test_all_hands(): for key, value in HANDS.items(): print('Hand: %s' % (key)) hh = PKRHandHistory(value) hh.parse_header() #print('%s\n\n%s\n\n' % (hh._splitted, hh._sections)) hh.parse()
def hand_header(request): h = PKRHandHistory(request.instance.hand_text) h.parse_header() return h