Mercurial > boomslang
comparison pyntnclick/tools/utils.py @ 589:ebc48b397fd5 pyntnclick
Turn rect_drawer into a command line option
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sat, 11 Feb 2012 17:07:52 +0200 |
parents | |
children | 4a933444c99b |
comparison
equal
deleted
inserted
replaced
588:0571deb177e9 | 589:ebc48b397fd5 |
---|---|
1 # Misc utils I don't know where else to put | |
2 | |
3 | |
4 def list_scenes(get_initial_state): | |
5 """List the scenes in the state""" | |
6 state = get_initial_state() | |
7 print 'Available scenes are : ' | |
8 for scene in state.scenes: | |
9 print ' ', scene | |
10 print 'Available details are : ' | |
11 for detail in state.detail_views: | |
12 print ' ', detail |