tabulka = soup.find('table', {'class': 'detail-char'})
records = []
for row in tabulka.findAll('tr'):
    col = row.findAll('td')
prvy = col[0].string.strip()
druhy = col[1].string.strip()
record = '%s;%s' % (prvy, druhy)
records.append(record)
fl = codecs.open('output.txt', 'wb', 'utf8')
line = ';'.join(records)
fl.write(line + '\r\n')
fl.close()
parsing table with BeautifulSoup and write in text file