https://weshallneversurrender.com/PyConfig-SetArgv/
PyConfig_SetArgv() — Set sys.argv for an Isolated Config | Python C API