Files
universal-web-api/venv/Lib/site-packages/win32comext/axscript/demos/client/wsh/test.pys
T
2026-11-02 22:54:14 +08:00

15 lines
370 B
Plaintext

# Testall - test core AX support.
# Test "Restricted Execution" (ie, IObjectSafety).
# This will fail if in a "restricted execution" environment, but
# will silenty do nothing of not restricted. This same line in an MSIE
# script would cause an exception.
print("Importing win32api...")
import win32api
if 1==1:
print("Hi")
WScript.Echo("Hello from WScript")
#fail