coding utf-8 import inspect from pprint import pprint from ssb2 import

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# -*- coding: utf-8 -*-
import inspect
from pprint import pprint
from ssb2 import control
def main():
for name, data in inspect.getmembers(control, inspect.isclass):
print '%s :' % name, repr(data)
print '---------' * 5
print inspect.getmembers(control.Control)
print '---------' * 5
print inspect.getsource(control.Control.change_unit)
if __name__ == '__main__':
main()