--- The IDE resets almost all of its state between runs ... not really (see comment below), but the script is always run from beginning and hence the state before the newest line added is created again.
So I admit, that it is not really a REPL, but more some incremental scripting support ;-) On the other hand: On the wishlist for the IDE there is a feature, to run only portions of a script. This can be augmented in your direction, in that there is an option to run the selected code (the new line added in your case) without resetting anything. comment on "The IDE resets almost all of its state between runs": On rerun in fact nothing (e.g. variable contents defined) in the script is reset, only some SikuliX environment settings and with version 1.1.1 imports of SikuliX scripts are refreshed now (to avoid this ugly reload()). -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1655800 Title: Better REPL Status in Sikuli: Won't Fix 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://github.com/jonathanslenders/ptpython.git would be quite awesome. I have tried loading it in and, once all the dependencies were made available, it almost works (I think.) 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. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1655800/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

