New question #248336 on Sikuli: https://answers.launchpad.net/sikuli/+question/248336
Hi, I'm having problems to export some vetor values in some txt. --------------######----------------- My code : def testVet(lixeira,vet,TAM): # try: for i in range(TAM): while exists ("1399467003216.png"): if exists("1399467003216.png"): dragDrop("1399467074425.png","1399482760598.png") #"1399482760598.png""1399473319344.png""1399471289407.png" lixeira +=1 else: print("lixeira cheia") #print ("Lixeira cheia") print ("quantidade de lixo = "+ str (lixeira)) vet[i] = lixeira return lixeira,vet,TAM #except: # raise exception lixeira,vet,TAM=testVet(lixeira,vet,TAM) print ("quantidade de lixo = "+ str (lixeira)) print (vet) f = open("C:\\Users\\vntless\\Desktop\\Projetos\\Sikuli_Projeto Automação\\Vetor.txt", 'a') #f = open("E:\\logfile.log", "a") f.write(vet) f.close() -----------------#######-------------- Current error [error] script [ vetortest ] stopped with erro r in line 38 [error] IOError ( (13, 'Permission denied', 'C:\\Users\\vntless\\Desktop\\Projetos\\Sikuli_Projeto Automa\xc3\xa7\xc3\xa3o\\Vetor.txt') ) ----------#############----------- More info: OS :Windows 8.1 Sikuli Version :1.0.1 -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp