sim,python: Use scoped_interpreter_guard's argc and argv ctor arguments.

When pybind11's scoped_interpreter_guard is constructed, it can take
argc and argv parameters which it uses to intitialize the sys.argv list
in python. We can use that mechanism instead of setting that up manually

Change-Id: If34fac610d1f829aef313bb9ea4c9dfe6bc8fc0f
Reviewed-by: Andreas Sandberg <>
Maintainer: Gabe Black <>
Reviewed-by: Jason Lowe-Power <>
Tested-by: kokoro <>
1 file changed