Código:
respuesta=br.response().read()
soup = BeautifulSoup(respuesta)
e=soup.findAll("table", {"class" : "Table3"})
print e
if(respuesta.find("Bem vindo a sua conta!") > 0):
print li + ":" + lin + 'si'
r = br.open(url3)
text_file = open("Output.txt", "a")
text_file.write("cuenta: %s password: %s\n" % (li,lin))
text_file.close()
text_file1 = open("cuentas.html", "a")
text_file1.write("cuentas: %s " " usuario:%s password:%s \n" % (e,li,lin) )
text_file1.close()
el problema esta en los outpot file cuando tiene que guardarlos no guarda nada alguien sabe por que, tengo desabilitado el uac tambien si me pudieran ayudar gracias