← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664859]: Jython cheat sheet

 

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

    Status: Open => Answered

Roman Podolyan proposed the following answer:
Jython is same as Python, just working over JVM.

Please use:

1) SikuliX documentation: https://sikulix-2014.readthedocs.io/en/latest/
(describes the classes and methods)

2) http://hyperpolyglot.org/scripting -- if you know about programming,
you can get from this table how to do what with Python

For instance, you want to know how to do "for loop". You search document
for it, and find:

# use range() in Python 3:
for i in xrange(1, 1000001):
  code

3) You can use Dzone Python refcard: 
https://dzone.com/asset/download/154031

If programming constructions and SikuliX documentation do not answer
your need, please explain in details what you expect to find.

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