37a38,42
> # Set the working directory in case we are executing from
> # outside gem5's source tree
> import os
> os.chdir(os.path.join(os.path.dirname(__file__), "../"))
>
39c44
< execfile('configs/learning_gem5/part1/simple.py')
---
> execfile(srcpath('configs/learning_gem5/part1/simple.py'))