sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #27011
Re: [Question #251520]: Obtaining values from a pool of data
Question #251520 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251520
Status: Open => Answered
RaiMan proposed the following answer:
… many., many of options.
the principal approach:
- read and evaluate the data source
- so variables contain the required data: some_var = <some content from data source>
- use type(some_var)
--- data sources can be (a basic selection):
- imported .sikuli
- simple text files (basic Python)
- files with special structure (CSV, XML, JSON, …) all have supporting available Python modules
- Excel files (faq 2208)
- databases accessible via JDBC
- … and more
The option selection mainly depends on, where the data comes from and
how it is created/managed.
Be aware: this is a basic Python question (not really related to Sikuli
aspects), so the chance is very high, to find related Python tutorials
in the net, though some questions here are related to that topic
already.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.