(fname, globs, locs=None)
| 37 | repo_root = os.path.dirname(os.path.abspath(__file__)) |
| 38 | |
| 39 | def execfile(fname, globs, locs=None): |
| 40 | locs = locs or globs |
| 41 | with open(fname) as f: |
| 42 | exec(compile(f.read(), fname, "exec"), globs, locs) |
| 43 | |
| 44 | # A little utility we'll need below, since glob() does NOT allow you to do |
| 45 | # exclusion on multiple endings! |