有没有好的 Python GUI shell? [英] Is there a good Python GUI shell?

查看:28
本文介绍了有没有好的 Python GUI shell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我前几天看到了这个(向下滚动一路以查看一些聪明的东西):

I saw this the other day (scroll all the way down to see some of the clever stuff):

http://www.mono-project.com/文档/工具+库/工具/repl/

并想知道 Python 是否存在这样的东西.

And wondered whether something like this exists for Python.

那么,有没有一个很好的 Python GUI shell 可以做像 C# shell 那样的事情?

So, is there a good Python GUI shell that can do stuff like that C# shell can do?

这里是文章截图的链接,显示了我感兴趣的内容.

Here are links to screenshots from the article, showing what I'm interested in doing.

我感兴趣的事物类型的示例:

An example of the type of things I'm interested:

http://www.mono-project.com/archived/images/7/75/GSharpPlot.png

他们能够添加钩子来生成图形等 GUI 元素,甚至可以做一些愚蠢的事情,例如:

They are able to add hooks to produce GUI elements like the plot, or even do silly things like:

http://www.mono-project.com/archived/images/b/bf/GSharpRenderHandler.png

我认为我尝试过的任何控制台 shell(常规 python shell,ipython)都不可能做到这一点.

I don't think this is possible with any of the console shells I've tried (the regular python shell, ipython).

我不是在寻找 IDE.如果您查看链接,就会知道我想要什么.

I'm not looking for an IDE. If you look at the link, you'll get an idea of what I want.

推荐答案

我所知道的一个提供类似功能(内联绘图、可自定义渲染)的项目是 重新互动.另一个(虽然对于一般用途可能有点重量级)是 SAGE,它为基于网络的 笔记本.

One project I'm aware of that provides similar features (inline plotting, customisable rendering) is Reinteract. Another (though possibly a bit heavyweight for general usage) is SAGE which provides functionality for web-based notebooks.

这些并不是外壳——它们更像是一个数学笔记本(例如,您可以修改早期的结果并将更改传播到以后的计算中),但它们与您的实际情况很接近寻找,并且可能可以修改为这样使用.

These aren't quite shells - they're designed more as a mathematical notebook (so for instance, you can modify an earlier result and have the change propogate to later calculations), but they're close to what you're looking for, and could probably be modified to be used as such.

这篇关于有没有好的 Python GUI shell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆