mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
8 lines
173 B
Python
8 lines
173 B
Python
import sys
|
|
|
|
pythonpath = sys.argv[1]
|
|
scriptfile = sys.argv[2]
|
|
sys.argv = sys.argv[2:]
|
|
sys.path.append(pythonpath)
|
|
exec(compile(open(scriptfile).read(), scriptfile, 'exec'))
|