[英]Display a live numpy array
In APL, you can trivially bring up a window that shows the contents of a variable whilst your program is running and watch it update live. 在APL中,您可以简单地打开一个窗口,该窗口在程序运行时显示变量的内容,并观看其实时更新。
This is illustrated by the classic Game of Life video at 5 minutes in. 5分钟的经典《生命游戏》视频说明了这一点。
Is there any similar 'inspector' for Python with support for numpy arrays so I can see step through my array code and see what its doing live? Python是否有类似的“检查器”,支持numpy数组,所以我可以逐步查看数组代码并实时查看其功能吗?
(Ideally using TK or something portable) (理想情况下使用TK或便携式产品)
(original poster) (原始海报)
I could not find one, so I made one. 我找不到一个,所以我做了一个。 You can get it here .
你可以在这里得到 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.