sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41204
[Bug 1655800] [NEW] Better REPL
Public bug reported:
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.
** Affects: sikuli
Importance: Undecided
Status: New
--
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:
New
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
Follow ups