Package mosp_examples :: Module playerChaimplain
[hide private]
[frames] | no frames]

Source Code for Module mosp_examples.playerChaimplain

 1  #!/bin/env python 
 2   
 3  """MOSP Example player 
 4      - player input read from stdin - use it with pipes 
 5      - GUI based on libchamplain using python bindings 
 6          - does only work on a few linux systems at the moment due to work an gnome/libchamplain 
 7              - working with Fedora 14 
 8              - same as running mosp.gui.playerChamplain 
 9               
10  Usage:  
11  ./routing_wiggler.py | ./playerChaimplain.py  
12  """ 
13   
14  import sys 
15  sys.path.append("..")  
16   
17  import mosp.gui.playerChamplain 
18   
19  __author__ = "B. Henne" 
20  __contact__ = "henne@dcsec.uni-hannover.de" 
21  __copyright__ = "(c) 2011, DCSec, Leibniz Universitaet Hannover, Germany" 
22  __license__ = "GPLv3" 
23  __deprecated__ = True 
24  __status__ = "unmaintained" 
25   
26   
27  if __name__ == '__main__': 
28      p = mosp.gui.playerChamplain.Player(width=800, height=600, markersize=10) 
29      p.main() 
30