MCPcopy Create free account
hub / github.com/cztomczak/cefpython / command_line_args

Function command_line_args

examples/pywin32.py:81–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80
81def command_line_args():
82 global g_multi_threaded
83 if "--multi-threaded" in sys.argv:
84 sys.argv.remove("--multi-threaded")
85 print("[pywin32.py] Message loop mode: CEF multi-threaded"
86 " (best performance)")
87 g_multi_threaded = True
88 else:
89 print("[pywin32.py] Message loop mode: CEF single-threaded")
90 if len(sys.argv) > 1:
91 print("ERROR: Invalid args passed."
92 " For usage see top comments in pywin32.py.")
93 sys.exit(1)
94
95
96def check_versions():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected