Mercurial > boomslang
view pyntnclick/tools/utils.py @ 678:36d7f7e9650e pyntnclick
Modal magic. (And yes, it is quite magical.)
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 12 Feb 2012 21:47:06 +0200 |
parents | ebc48b397fd5 |
children | 4a933444c99b |
line wrap: on
line source
# Misc utils I don't know where else to put def list_scenes(get_initial_state): """List the scenes in the state""" state = get_initial_state() print 'Available scenes are : ' for scene in state.scenes: print ' ', scene print 'Available details are : ' for detail in state.detail_views: print ' ', detail