view pycontroller.py @ 38:9ff51da22b9b

some docs
author james <jb302@eecs.qmul.ac.uk>
date Fri, 18 Apr 2014 20:07:19 +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)