Re: [Sikuli-driver] [Question #248336]: Problem to write a txt file

2014-05-09 Thread RaiMan
Question #248336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248336 RaiMan proposed the following answer: if you want to have [2, 0, 0, 0, 0, 0, 0, 0, 0, 0] in your file f.write(str(text)) this is what print does internally automatically (converting everything into it's st

Re: [Sikuli-driver] [Question #248336]: Problem to write a txt file

2014-05-07 Thread Eugene S
Question #248336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248336 Status: Open => Answered Eugene S proposed the following answer: Hi, I think that the issue in your "New code" is that you are trying to write a list type variable to a file. If that's what you are tryi

Re: [Sikuli-driver] [Question #248336]: Problem to write a txt file

2014-05-07 Thread Leonardo Carvalho Sobral dos Santos
Question #248336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248336 Leonardo Carvalho Sobral dos Santos gave more information on the question: I did in different way... but still return error New code text=vet f = open("Vetor.txt", 'w') #C:\\Users\\vntless\\Desktop\\Projeto

[Sikuli-driver] [Question #248336]: Problem to write a txt file

2014-05-07 Thread Leonardo Carvalho Sobral dos Santos
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