← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #654029]: import xlrd method not copying numbers

 

Question #654029 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654029

    Status: Answered => Open

Muthumanikandan is still having a problem:
The following code where i need to use str() function

import xlrd
import datetime
EXCELFILE = "D:\\Muthu\\Datamanipulation\\book1.xlsx"
book = xlrd.open_workbook(EXCELFILE)
sheet = book.sheet_by_index(0)
celltype = sheet.cell_type(40,33)
value = sheet.cell_value(40,33)
openApp("notepad")
wait(2)
paste(value)

i used str() after the value and before the value i got error

[error] TypeError ( paste(): 1st arg can't be coerced to String )

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.