marmots/inspector.py
Jeremy Penner 10edbacf86 WIP robot creation in board editor!
- refactor client - now has a _stack_ of current Games, the top of which
  is active - prevents shutdown of whiteboard when "leaving" to edit
  source code
- add tpers.StaticIndex / inspector.py for interactively querying object
  graphs
2020-07-19 21:31:54 -04:00

8 lines
157 B
Python

# to use:
# python -i inspector.py
# >>> i.Rgclass() ...
from whiteboard import *
o = tpers.Odb.Load('whiteboard.marm')
i = tpers.StaticIndex().Populate(o)