Skip to content

Instantly share code, notes, and snippets.

Everton Zanella Alvarenga everton137

Block or report user

Report or block everton137

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import BeautifulSoup as bs
from collections import defaultdict
xml_votos = open('./votos-camara.xml')
xml_data = bs.BeautifulSoup(
dpts = xml_data.findAll('deputado')
hist_pt = defaultdict(int)
for d in dpts:
if d['voto'] != u'Não':
# coding: utf-8
import re, datetime, random, time
START = '\1'
END = '\0'
ansi_escape = re.compile(r'\x1b[^m]+m')
data = {}
You can’t perform that action at this time.