view pycontroller.py @ 39:0f3bd942a7d4

docs docs docs
author james <jb302@eecs.qmul.ac.uk>
date Mon, 21 Apr 2014 19:37:21 +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)