[Schevo-devel] Using a Schevo database from the Python shell
Matthew Scott
mscott at goldenspud.com
Wed Apr 20 10:11:19 EDT 2005
Patrick K. O'Brien wrote:
> Where is the -i switch? ;-) I think you meant this:
>
> python -i ~username/schevo/bin/evo run myapp -- --no-navigator
Indeed. :) I must have gotten side-tracked.
> Yeah, I'm ambivalent on it myself. It's a hack, but it was easy enough
> to do and I wanted it so I did it. Call me lazy and impatient. :-)
>
> On a serious note, some times a UI just gets in the way. Especially
> when you want to demonstrate what is going on in Schevo at a level that
> is a little closer to the metal. I thought about adding the Python
> Shell as a config option, just like Navigator. But then I remembered
> the -i option and hacked together a quick solution instead.
IPython is an excellent text-mode shell, in my opinion, and might be
easy to add support for it if it's installed on the user's system.
Not that it is a high priority at the moment, but I also wonder if it
could be integrated into the Twisted reactor so that even if a GUI
and/or services were running, IPython would be just another "service"
running on stdin/out/err.
--
Matthew R. Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://schevo.org/lists/archives/schevo-devel/attachments/20050420/bad737e6/signature.pgp
More information about the Schevo-devel
mailing list