Better REPL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Won't Fix
|
Undecided
|
RaiMan |
Bug Description
I have found the Sikuli interactive interpreter to be a powerful tool, both for experimenting with code snippets as I am building scripts and as a testing tool in its own right. That said, it's often rather... primitive... It could be much better.
Something like https:/
It ends up choking when it tries to import termios and can't find it. Which I find to be a bit confusing since when I check the jython docs, it's supposed to include a termios module... So either I'm misreading something, or maybe the jython bundle included with Sikuli just needs to have that bit included. Regardless, if someone who knows more about Java and Jython than I do can spare a few minutes to look at it, it might just work.
Alternatively, there are a few other improved Python REPLs that might drop in and function. Something that handles history and completion a bit better would take the interactive interpreter from a mildly useful debugging and small-test tool to a pretty good interactive script development environment.
Changed in sikuli: | |
status: | New → Won't Fix |
assignee: | nobody → RaiMan (raimund-hocke) |
The "Sikuli interactive interpreter" is only the standard Jython prompt with some imports already done.
So if you use standard Jython having sikulixapi.jar on classpath, you only have to issue the standard imports needed for SikuliX and you are there.
With the SikuliX IDE you can do the same:
- enter a line of code
- run the script
- enter next line
- run the script
- ...
though currently you do not have auto-complete.
In any case, if you need more, I recommend PyCharm.