1# Script used to test Py_FrozenMain(): see test_embed.test_frozenmain().
2# Run "make regen-test-frozenmain" if you modify this test.
3
4import sys
5import _testinternalcapi
6
7print("Frozen Hello World")
8print("sys.argv", sys.argv)
9config = _testinternalcapi.get_configs()['config']
10for key in (
11    'program_name',
12    'executable',
13    'use_environment',
14    'configure_c_stdio',
15    'buffered_stdio',
16):
17    print(f"config {key}: {config[key]}")
18