← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #186002]: Extracting from text file and writing the same in to the application filelds

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
As stated in the intro of the docs at http://sikuli.org/docx/:
However, if you would like to write more powerful and complex scripts, which might even be structured in modules, you have to dive into the Python Language (http://jythonpodcast.hostjava.net/jythonbook/en/1.0/ ).

Since this is more a tutorial kind of doc, as a reference you can use:
Python 2.5: http://docs.python.org/release/2.5/index.html (Language and Library reference + much more)
Jython 2.5.2: http://www.jython.org/docs/index.html

a small tutorial on file handling:
http://docs.python.org/release/2.5/tut/node9.html#SECTION009200000000000000000

Always be aware, when using Python documentation, that Sikuli uses the
Java based Jython interpreter internally, that especially cannot load
any Python modules that are written in C or need C-based API's to the
underlying system.

If something, that might work in Python, but produces "name not found"
errors in Sikuli/Jython, you have to live with the fact, that it will
not be available in Sikuli.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.