• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import sys
2
3pythonpath = sys.argv[1]
4scriptfile = sys.argv[2]
5sys.argv = sys.argv[2:]
6sys.path.append(pythonpath)
7exec(compile(open(scriptfile).read(), scriptfile, 'exec'))
8