sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25758
Re: [Question #248336]: Problem to write a txt file
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\\Projetos\\Sikuli_Projeto Automação\\Vetor.txt
#f = open("E:\\logfile.log", "a")
f.write(text)
f.close()
Error.................
quantidade de lixo = 2
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[error] script [ vetortest ] stopped with error in line 41
[error] TypeError ( argument 1 must be string or read-only character buffer, not list )
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.