简体   繁体   中英

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.

This is illustrated by the classic Game of Life video at 5 minutes in.

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?

(Ideally using TK or something portable)

Have you looked at the python debugger? ( pdb )

It's not graphical but it is completely portable. Depending what IDE you're using, there might be a visual debugger built in.

(original poster)

在此处输入图片说明

I could not find one, so I made one. You can get it here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM