view pycontroller.py @ 41:a9bf262f557b

almost there
author james <jb302@eecs.qmul.ac.uk>
date Tue, 22 Apr 2014 00:57:06 +0100
parents 4411dee34085
children
line wrap: on
line source
# run this file with 'ipython -i pycontroller.py' for an interactive
# debugging python interface
from dbg.dbg import controller
from subprocess import Popen, PIPE, STDOUT

emu = controller()
emu.Emu = Popen(['bin/emu'], stdout=PIPE, stdin=PIPE, stderr=PIPE)