slotUI/SlotCli.py

Sat, 03 Dec 2011 09:26:20 +0100

author
Malte Bayer <mbayer@neo-soft.org>
date
Sat, 03 Dec 2011 09:26:20 +0100
changeset 27
3e617fcf999a
parent 25
646ee4dc3a6b
child 35
00166228a419
permissions
-rwxr-xr-x

added exception, started SlotCli class

#!/usr/bin/env python
"""
Freeslot project
Command line interface
"""

from freeslot import Blackbox

class SlotCli():
    def __init__(self):
        self.box = Blackbox()
        self.box.connect()

    def run(self):
        """
        Keyboard loop to control it???
        """
        return None

if __name__ == "__main__":
    app = SlotCli()
    app.run()

mercurial