sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25369
Re: [Question #247191]: type a select results from oracle database
Question #247191 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247191
Status: Open => Answered
RaiMan proposed the following answer:
Apparently the c.fetchone() returns a list containing tuples of unicode
strings.
I guess you have to know this based on the structure of your db record.
To get the number as string ready for type():
number = row[0][0]
type(number, KeyModifier.WIN)
type('row', ...) is not correct anyway - might be a typo (since this
would not produce the error message)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.