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.
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.