py2docfx 0.1.15.dev2025736__py3-none-any.whl → 0.1.15.dev2038808__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/docfx_yaml/process_doctree.py +34 -21
- py2docfx/docfx_yaml/tests/test_method_arguments.py +7 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +48 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +115 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +48 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +115 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/RECORD +136 -593
- py2docfx/docfx_yaml/tests/test_process_doctree.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/top_level.txt +0 -0
@@ -1,184 +0,0 @@
|
|
1
|
-
# Test MSOffice
|
2
|
-
#
|
3
|
-
# Main purpose of test is to ensure that Dynamic COM objects
|
4
|
-
# work as expected.
|
5
|
-
|
6
|
-
# Assumes Word and Excel installed on your machine.
|
7
|
-
|
8
|
-
import traceback
|
9
|
-
|
10
|
-
import pythoncom
|
11
|
-
import win32api
|
12
|
-
import win32com
|
13
|
-
import win32com.client.dynamic
|
14
|
-
from win32com.client import gencache
|
15
|
-
from win32com.test.util import CheckClean
|
16
|
-
|
17
|
-
|
18
|
-
# Test a few of the MSOffice components.
|
19
|
-
def TestWord():
|
20
|
-
try:
|
21
|
-
# Office 97 - _totally_ different object model!
|
22
|
-
word7 = win32com.client.Dispatch("Word.Basic")
|
23
|
-
# Check if any property needed by TestWord7 is not None
|
24
|
-
if word7.FileNew:
|
25
|
-
print("Starting Word 7 for dynamic test")
|
26
|
-
TestWord7(word7)
|
27
|
-
else:
|
28
|
-
# NOTE - using "client.Dispatch" would return an msword8.py instance!
|
29
|
-
print("Starting Word 8 for dynamic test")
|
30
|
-
word = win32com.client.dynamic.Dispatch("Word.Application")
|
31
|
-
TestWord8(word)
|
32
|
-
|
33
|
-
word = None
|
34
|
-
# Now we will test Dispatch without the new "lazy" capabilities
|
35
|
-
print("Starting Word 8 for non-lazy dynamic test")
|
36
|
-
dispatch = win32com.client.dynamic._GetGoodDispatch("Word.Application")
|
37
|
-
typeinfo = dispatch.GetTypeInfo()
|
38
|
-
attr = typeinfo.GetTypeAttr()
|
39
|
-
olerepr = win32com.client.build.DispatchItem(typeinfo, attr, None, 0)
|
40
|
-
word = win32com.client.dynamic.CDispatch(dispatch, olerepr)
|
41
|
-
dispatch = typeinfo = attr = olerepr = None
|
42
|
-
TestWord8(word)
|
43
|
-
except Exception as e:
|
44
|
-
print("Word dynamic tests failed", e)
|
45
|
-
traceback.print_exc()
|
46
|
-
|
47
|
-
print("Starting MSWord for generated test")
|
48
|
-
try:
|
49
|
-
from win32com.client import gencache
|
50
|
-
|
51
|
-
word = gencache.EnsureDispatch("Word.Application.8")
|
52
|
-
TestWord8(word)
|
53
|
-
except Exception as e:
|
54
|
-
print("Word generated tests failed", e)
|
55
|
-
traceback.print_exc()
|
56
|
-
|
57
|
-
|
58
|
-
def TestWord7(word):
|
59
|
-
word.FileNew()
|
60
|
-
# If not shown, show the app.
|
61
|
-
if not word.AppShow():
|
62
|
-
word._proc_("AppShow")
|
63
|
-
|
64
|
-
for i in range(12):
|
65
|
-
word.FormatFont(Color=i + 1, Points=i + 12)
|
66
|
-
word.Insert("Hello from Python %d\n" % i)
|
67
|
-
|
68
|
-
word.FileClose(2)
|
69
|
-
|
70
|
-
|
71
|
-
def TestWord8(word):
|
72
|
-
word.Visible = 1
|
73
|
-
doc = word.Documents.Add()
|
74
|
-
wrange = doc.Range()
|
75
|
-
for i in range(10):
|
76
|
-
wrange.InsertAfter(f"Hello from Python {i + 1}\n")
|
77
|
-
paras = doc.Paragraphs
|
78
|
-
if int(word.Version.split(".")[0]) >= 16:
|
79
|
-
# With Word 16 / Word 2019
|
80
|
-
for i, p in enumerate(paras):
|
81
|
-
p.Range.Font.ColorIndex = i + 1
|
82
|
-
p.Range.Font.Size = 12 + (4 * i)
|
83
|
-
else:
|
84
|
-
# NOTE: Iterating on paras doesn't seem to work - no error, just doesn't work
|
85
|
-
# for para in paras:
|
86
|
-
# para().Font...
|
87
|
-
for i in range(len(paras)):
|
88
|
-
p = paras(i + 1)
|
89
|
-
p.Font.ColorIndex = i + 1
|
90
|
-
p.Font.Size = 12 + (4 * i)
|
91
|
-
doc.Close(SaveChanges=False)
|
92
|
-
word.Quit()
|
93
|
-
win32api.Sleep(1000) # Wait for word to close, else we may get OA error.
|
94
|
-
|
95
|
-
|
96
|
-
def TestWord8OldStyle():
|
97
|
-
try:
|
98
|
-
import win32com.test.Generated4Test.msword8
|
99
|
-
except ImportError:
|
100
|
-
print("Can not do old style test")
|
101
|
-
|
102
|
-
|
103
|
-
def TextExcel(xl):
|
104
|
-
xl.Visible = 0
|
105
|
-
assert not xl.Visible, "Visible property is true."
|
106
|
-
xl.Visible = 1
|
107
|
-
assert xl.Visible, "Visible property not true."
|
108
|
-
|
109
|
-
xl.Workbooks.Add()
|
110
|
-
|
111
|
-
xl.Range("A1:C1").Value = (1, 2, 3)
|
112
|
-
xl.Range("A2:C2").Value = ("x", "y", "z")
|
113
|
-
xl.Range("A3:C3").Value = ("3", "2", "1")
|
114
|
-
|
115
|
-
for i in range(20):
|
116
|
-
xl.Cells(i + 1, i + 1).Value = "Hi %d" % i
|
117
|
-
|
118
|
-
assert xl.Range("A1").Value == "Hi 0", "Single cell range failed"
|
119
|
-
assert xl.Range("A1:B1").Value == (
|
120
|
-
("Hi 0", 2),
|
121
|
-
), "flat-horizontal cell range failed"
|
122
|
-
assert xl.Range("A1:A2").Value == (
|
123
|
-
("Hi 0",),
|
124
|
-
("x",),
|
125
|
-
), "flat-vertical cell range failed"
|
126
|
-
assert xl.Range("A1:C3").Value == (
|
127
|
-
("Hi 0", 2, 3),
|
128
|
-
("x", "Hi 1", "z"),
|
129
|
-
(3, 2, "Hi 2"),
|
130
|
-
), "square cell range failed"
|
131
|
-
|
132
|
-
xl.Range("A1:C3").Value = ((3, 2, 1), ("x", "y", "z"), (1, 2, 3))
|
133
|
-
|
134
|
-
assert xl.Range("A1:C3").Value == (
|
135
|
-
(3, 2, 1),
|
136
|
-
("x", "y", "z"),
|
137
|
-
(1, 2, 3),
|
138
|
-
), "Range was not what I set it to!"
|
139
|
-
|
140
|
-
# test dates out with Excel
|
141
|
-
xl.Cells(5, 1).Value = "Excel time"
|
142
|
-
xl.Cells(5, 2).Formula = "=Now()"
|
143
|
-
|
144
|
-
import time
|
145
|
-
|
146
|
-
xl.Cells(6, 1).Value = "Python time"
|
147
|
-
xl.Cells(6, 2).Value = pythoncom.MakeTime(time.time())
|
148
|
-
xl.Cells(6, 2).NumberFormat = "d/mm/yy h:mm"
|
149
|
-
xl.Columns("A:B").EntireColumn.AutoFit()
|
150
|
-
|
151
|
-
xl.Workbooks(1).Close(0)
|
152
|
-
xl.Quit()
|
153
|
-
|
154
|
-
|
155
|
-
def TestAll():
|
156
|
-
TestWord()
|
157
|
-
|
158
|
-
try:
|
159
|
-
print("Starting Excel for Dynamic test...")
|
160
|
-
xl = win32com.client.dynamic.Dispatch("Excel.Application")
|
161
|
-
TextExcel(xl)
|
162
|
-
except Exception as e:
|
163
|
-
worked = False
|
164
|
-
print("Excel tests failed", e)
|
165
|
-
traceback.print_exc()
|
166
|
-
|
167
|
-
try:
|
168
|
-
print("Starting Excel 8 for generated excel8.py test...")
|
169
|
-
mod = gencache.EnsureModule(
|
170
|
-
"{00020813-0000-0000-C000-000000000046}", 0, 1, 2, bForDemand=True
|
171
|
-
)
|
172
|
-
xl = win32com.client.Dispatch("Excel.Application")
|
173
|
-
TextExcel(xl)
|
174
|
-
except ImportError:
|
175
|
-
print("Could not import the generated Excel 97 wrapper")
|
176
|
-
except Exception as e:
|
177
|
-
print("Generated Excel tests failed", e)
|
178
|
-
traceback.print_exc()
|
179
|
-
|
180
|
-
|
181
|
-
if __name__ == "__main__":
|
182
|
-
TestAll()
|
183
|
-
CheckClean()
|
184
|
-
pythoncom.CoUninitialize()
|
@@ -1,138 +0,0 @@
|
|
1
|
-
# OfficeEvents - test/demonstrate events with Word and Excel.
|
2
|
-
import msvcrt
|
3
|
-
import sys
|
4
|
-
import threading
|
5
|
-
import time
|
6
|
-
import types
|
7
|
-
|
8
|
-
import pythoncom
|
9
|
-
from win32com.client import DispatchWithEvents
|
10
|
-
|
11
|
-
stopEvent = threading.Event()
|
12
|
-
|
13
|
-
|
14
|
-
def TestExcel():
|
15
|
-
class ExcelEvents:
|
16
|
-
def OnNewWorkbook(self, wb):
|
17
|
-
if not isinstance(wb, types.InstanceType):
|
18
|
-
raise RuntimeError(
|
19
|
-
"The transformer doesn't appear to have translated this for us!"
|
20
|
-
)
|
21
|
-
self.seen_events["OnNewWorkbook"] = None
|
22
|
-
|
23
|
-
def OnWindowActivate(self, wb, wn):
|
24
|
-
if not isinstance(wb, types.InstanceType) or not isinstance(
|
25
|
-
wn, types.InstanceType
|
26
|
-
):
|
27
|
-
raise RuntimeError(
|
28
|
-
"The transformer doesn't appear to have translated this for us!"
|
29
|
-
)
|
30
|
-
self.seen_events["OnWindowActivate"] = None
|
31
|
-
|
32
|
-
def OnWindowDeactivate(self, wb, wn):
|
33
|
-
self.seen_events["OnWindowDeactivate"] = None
|
34
|
-
|
35
|
-
def OnSheetDeactivate(self, sh):
|
36
|
-
self.seen_events["OnSheetDeactivate"] = None
|
37
|
-
|
38
|
-
def OnSheetBeforeDoubleClick(self, Sh, Target, Cancel):
|
39
|
-
if Target.Column % 2 == 0:
|
40
|
-
print("You can double-click there...")
|
41
|
-
else:
|
42
|
-
print("You can not double-click there...")
|
43
|
-
# This function is a void, so the result ends up in
|
44
|
-
# the only ByRef - Cancel.
|
45
|
-
return 1
|
46
|
-
|
47
|
-
class WorkbookEvents:
|
48
|
-
def OnActivate(self):
|
49
|
-
print("workbook OnActivate")
|
50
|
-
|
51
|
-
def OnBeforeRightClick(self, Target, Cancel):
|
52
|
-
print("It's a Worksheet Event")
|
53
|
-
|
54
|
-
e = DispatchWithEvents("Excel.Application", ExcelEvents)
|
55
|
-
e.seen_events = {}
|
56
|
-
e.Visible = 1
|
57
|
-
book = e.Workbooks.Add()
|
58
|
-
book = DispatchWithEvents(book, WorkbookEvents)
|
59
|
-
print("Have book", book)
|
60
|
-
# sheet = e.Worksheets(1)
|
61
|
-
# sheet = DispatchWithEvents(sheet, WorksheetEvents)
|
62
|
-
|
63
|
-
print("Double-click in a few of the Excel cells...")
|
64
|
-
print("Press any key when finished with Excel, or wait 10 seconds...")
|
65
|
-
if not _WaitForFinish(e, 10):
|
66
|
-
e.Quit()
|
67
|
-
if not _CheckSeenEvents(e, ["OnNewWorkbook", "OnWindowActivate"]):
|
68
|
-
sys.exit(1)
|
69
|
-
|
70
|
-
|
71
|
-
def TestWord():
|
72
|
-
class WordEvents:
|
73
|
-
def OnDocumentChange(self):
|
74
|
-
self.seen_events["OnDocumentChange"] = None
|
75
|
-
|
76
|
-
def OnWindowActivate(self, doc, wn):
|
77
|
-
self.seen_events["OnWindowActivate"] = None
|
78
|
-
|
79
|
-
def OnQuit(self):
|
80
|
-
self.seen_events["OnQuit"] = None
|
81
|
-
stopEvent.set()
|
82
|
-
|
83
|
-
w = DispatchWithEvents("Word.Application", WordEvents)
|
84
|
-
w.seen_events = {}
|
85
|
-
w.Visible = 1
|
86
|
-
w.Documents.Add()
|
87
|
-
print("Press any key when finished with Word, or wait 10 seconds...")
|
88
|
-
if not _WaitForFinish(w, 10):
|
89
|
-
w.Quit()
|
90
|
-
if not _CheckSeenEvents(w, ["OnDocumentChange", "OnWindowActivate"]):
|
91
|
-
sys.exit(1)
|
92
|
-
|
93
|
-
|
94
|
-
def _WaitForFinish(ob, timeout):
|
95
|
-
end = time.time() + timeout
|
96
|
-
while 1:
|
97
|
-
if msvcrt.kbhit():
|
98
|
-
msvcrt.getch()
|
99
|
-
break
|
100
|
-
pythoncom.PumpWaitingMessages()
|
101
|
-
stopEvent.wait(0.2)
|
102
|
-
if stopEvent.isSet():
|
103
|
-
stopEvent.clear()
|
104
|
-
break
|
105
|
-
try:
|
106
|
-
if not ob.Visible:
|
107
|
-
# Gone invisible - we need to pretend we timed
|
108
|
-
# out, so the app is quit.
|
109
|
-
return 0
|
110
|
-
except pythoncom.com_error:
|
111
|
-
# Excel is busy (eg, editing the cell) - ignore
|
112
|
-
pass
|
113
|
-
if time.time() > end:
|
114
|
-
return 0
|
115
|
-
return 1
|
116
|
-
|
117
|
-
|
118
|
-
def _CheckSeenEvents(o, events):
|
119
|
-
rc = 1
|
120
|
-
for e in events:
|
121
|
-
if e not in o.seen_events:
|
122
|
-
print("ERROR: Expected event did not trigger", e)
|
123
|
-
rc = 0
|
124
|
-
return rc
|
125
|
-
|
126
|
-
|
127
|
-
def test():
|
128
|
-
import sys
|
129
|
-
|
130
|
-
if "noword" not in sys.argv[1:]:
|
131
|
-
TestWord()
|
132
|
-
if "noexcel" not in sys.argv[1:]:
|
133
|
-
TestExcel()
|
134
|
-
print("Word and Excel event tests passed.")
|
135
|
-
|
136
|
-
|
137
|
-
if __name__ == "__main__":
|
138
|
-
test()
|
@@ -1,160 +0,0 @@
|
|
1
|
-
"""Testing pasing object between multiple COM threads
|
2
|
-
|
3
|
-
Uses standard COM marshalling to pass objects between threads. Even
|
4
|
-
though Python generally seems to work when you just pass COM objects
|
5
|
-
between threads, it shouldn't.
|
6
|
-
|
7
|
-
This shows the "correct" way to do it.
|
8
|
-
|
9
|
-
It shows that although we create new threads to use the Python.Interpreter,
|
10
|
-
COM marshalls back all calls to that object to the main Python thread,
|
11
|
-
which must be running a message loop (as this sample does).
|
12
|
-
|
13
|
-
When this test is run in "free threaded" mode (at this stage, you must
|
14
|
-
manually mark the COM objects as "ThreadingModel=Free", or run from a
|
15
|
-
service which has marked itself as free-threaded), then no marshalling
|
16
|
-
is done, and the Python.Interpreter object start doing the "expected" thing
|
17
|
-
- ie, it reports being on the same thread as its caller!
|
18
|
-
|
19
|
-
Python.exe needs a good way to mark itself as FreeThreaded - at the moment
|
20
|
-
this is a pain in the but!
|
21
|
-
|
22
|
-
"""
|
23
|
-
|
24
|
-
import threading
|
25
|
-
import unittest
|
26
|
-
|
27
|
-
import pythoncom
|
28
|
-
import win32api
|
29
|
-
import win32com.client
|
30
|
-
import win32event
|
31
|
-
|
32
|
-
from .testServers import InterpCase
|
33
|
-
|
34
|
-
freeThreaded = 1
|
35
|
-
|
36
|
-
|
37
|
-
class ThreadInterpCase(InterpCase):
|
38
|
-
def _testInterpInThread(self, stopEvent, interp):
|
39
|
-
try:
|
40
|
-
self._doTestInThread(interp)
|
41
|
-
finally:
|
42
|
-
win32event.SetEvent(stopEvent)
|
43
|
-
|
44
|
-
def _doTestInThread(self, interp):
|
45
|
-
pythoncom.CoInitialize()
|
46
|
-
myThread = win32api.GetCurrentThreadId()
|
47
|
-
|
48
|
-
if freeThreaded:
|
49
|
-
interp = pythoncom.CoGetInterfaceAndReleaseStream(
|
50
|
-
interp, pythoncom.IID_IDispatch
|
51
|
-
)
|
52
|
-
interp = win32com.client.Dispatch(interp)
|
53
|
-
|
54
|
-
interp.Exec("import win32api")
|
55
|
-
# print(f"The test thread id is {myThread}, Python.Interpreter's thread ID is {interp.Eval('win32api.GetCurrentThreadId()')}")
|
56
|
-
pythoncom.CoUninitialize()
|
57
|
-
|
58
|
-
def BeginThreadsSimpleMarshal(self, numThreads):
|
59
|
-
"""Creates multiple threads using simple (but slower) marshalling.
|
60
|
-
|
61
|
-
Single interpreter object, but a new stream is created per thread.
|
62
|
-
|
63
|
-
Returns the handles the threads will set when complete.
|
64
|
-
"""
|
65
|
-
interp = win32com.client.Dispatch("Python.Interpreter")
|
66
|
-
events = []
|
67
|
-
threads = []
|
68
|
-
for i in range(numThreads):
|
69
|
-
hEvent = win32event.CreateEvent(None, 0, 0, None)
|
70
|
-
events.append(hEvent)
|
71
|
-
interpStream = pythoncom.CoMarshalInterThreadInterfaceInStream(
|
72
|
-
pythoncom.IID_IDispatch, interp._oleobj_
|
73
|
-
)
|
74
|
-
t = threading.Thread(
|
75
|
-
target=self._testInterpInThread, args=(hEvent, interpStream)
|
76
|
-
)
|
77
|
-
t.setDaemon(1) # so errors don't cause shutdown hang
|
78
|
-
t.start()
|
79
|
-
threads.append(t)
|
80
|
-
interp = None
|
81
|
-
return threads, events
|
82
|
-
|
83
|
-
#
|
84
|
-
# NOTE - this doesn't quite work - I'm not even sure it should, but Greg reckons
|
85
|
-
# you should be able to avoid the marshal per thread!
|
86
|
-
# I think that refers to CoMarshalInterface though...
|
87
|
-
def BeginThreadsFastMarshal(self, numThreads):
|
88
|
-
"""Creates multiple threads using fast (but complex) marshalling.
|
89
|
-
|
90
|
-
The marshal stream is created once, and each thread uses the same stream
|
91
|
-
|
92
|
-
Returns the handles the threads will set when complete.
|
93
|
-
"""
|
94
|
-
interp = win32com.client.Dispatch("Python.Interpreter")
|
95
|
-
if freeThreaded:
|
96
|
-
interp = pythoncom.CoMarshalInterThreadInterfaceInStream(
|
97
|
-
pythoncom.IID_IDispatch, interp._oleobj_
|
98
|
-
)
|
99
|
-
events = []
|
100
|
-
threads = []
|
101
|
-
for i in range(numThreads):
|
102
|
-
hEvent = win32event.CreateEvent(None, 0, 0, None)
|
103
|
-
t = threading.Thread(target=self._testInterpInThread, args=(hEvent, interp))
|
104
|
-
t.setDaemon(1) # so errors don't cause shutdown hang
|
105
|
-
t.start()
|
106
|
-
events.append(hEvent)
|
107
|
-
threads.append(t)
|
108
|
-
return threads, events
|
109
|
-
|
110
|
-
def _DoTestMarshal(self, fn, bCoWait=0):
|
111
|
-
# print(f"The main thread is {win32api.GetCurrentThreadId()}")
|
112
|
-
threads, events = fn(2)
|
113
|
-
numFinished = 0
|
114
|
-
while 1:
|
115
|
-
try:
|
116
|
-
if bCoWait:
|
117
|
-
rc = pythoncom.CoWaitForMultipleHandles(0, 2000, events)
|
118
|
-
else:
|
119
|
-
# Specifying "bWaitAll" here will wait for messages *and* all events
|
120
|
-
# (which is pretty useless)
|
121
|
-
rc = win32event.MsgWaitForMultipleObjects(
|
122
|
-
events, 0, 2000, win32event.QS_ALLINPUT
|
123
|
-
)
|
124
|
-
if (
|
125
|
-
rc >= win32event.WAIT_OBJECT_0
|
126
|
-
and rc < win32event.WAIT_OBJECT_0 + len(events)
|
127
|
-
):
|
128
|
-
numFinished += 1
|
129
|
-
if numFinished >= len(events):
|
130
|
-
break
|
131
|
-
elif rc == win32event.WAIT_OBJECT_0 + len(events): # a message
|
132
|
-
# This is critical - whole apartment model demo will hang.
|
133
|
-
pythoncom.PumpWaitingMessages()
|
134
|
-
else: # Timeout
|
135
|
-
print(
|
136
|
-
"Waiting for thread to stop with interfaces=%d, gateways=%d"
|
137
|
-
% (pythoncom._GetInterfaceCount(), pythoncom._GetGatewayCount())
|
138
|
-
)
|
139
|
-
except KeyboardInterrupt:
|
140
|
-
break
|
141
|
-
for t in threads:
|
142
|
-
t.join(2)
|
143
|
-
self.assertFalse(t.is_alive(), "thread failed to stop!?")
|
144
|
-
threads = None # threads hold references to args
|
145
|
-
# Seems to be a leak here I can't locate :(
|
146
|
-
# self.assertEqual(pythoncom._GetInterfaceCount(), 0)
|
147
|
-
# self.assertEqual(pythoncom._GetGatewayCount(), 0)
|
148
|
-
|
149
|
-
def testSimpleMarshal(self):
|
150
|
-
self._DoTestMarshal(self.BeginThreadsSimpleMarshal)
|
151
|
-
|
152
|
-
def testSimpleMarshalCoWait(self):
|
153
|
-
self._DoTestMarshal(self.BeginThreadsSimpleMarshal, 1)
|
154
|
-
|
155
|
-
|
156
|
-
# def testFastMarshal(self):
|
157
|
-
# self._DoTestMarshal(self.BeginThreadsFastMarshal)
|
158
|
-
|
159
|
-
if __name__ == "__main__":
|
160
|
-
unittest.main("testMarshal")
|
@@ -1,227 +0,0 @@
|
|
1
|
-
import os
|
2
|
-
|
3
|
-
import pythoncom
|
4
|
-
import pywintypes
|
5
|
-
import win32api
|
6
|
-
import win32com
|
7
|
-
import win32com.client
|
8
|
-
import win32com.client.dynamic
|
9
|
-
import win32com.server.util
|
10
|
-
import win32timezone
|
11
|
-
import win32ui
|
12
|
-
from win32com import storagecon
|
13
|
-
from win32com.axcontrol import axcontrol
|
14
|
-
from win32com.test.util import CheckClean
|
15
|
-
|
16
|
-
S_OK = 0
|
17
|
-
|
18
|
-
now = win32timezone.now()
|
19
|
-
|
20
|
-
|
21
|
-
class LockBytes:
|
22
|
-
_public_methods_ = [
|
23
|
-
"ReadAt",
|
24
|
-
"WriteAt",
|
25
|
-
"Flush",
|
26
|
-
"SetSize",
|
27
|
-
"LockRegion",
|
28
|
-
"UnlockRegion",
|
29
|
-
"Stat",
|
30
|
-
]
|
31
|
-
_com_interfaces_ = [pythoncom.IID_ILockBytes]
|
32
|
-
|
33
|
-
def __init__(self, data=b""):
|
34
|
-
self.data = data
|
35
|
-
self.ctime = now
|
36
|
-
self.mtime = now
|
37
|
-
self.atime = now
|
38
|
-
|
39
|
-
def ReadAt(self, offset, cb):
|
40
|
-
print("ReadAt")
|
41
|
-
result = self.data[offset : offset + cb]
|
42
|
-
return result
|
43
|
-
|
44
|
-
def WriteAt(self, offset, data):
|
45
|
-
print("WriteAt", offset)
|
46
|
-
print("len", len(data))
|
47
|
-
print("data:")
|
48
|
-
# print(data)
|
49
|
-
if len(self.data) >= offset:
|
50
|
-
newdata = self.data[0:offset] + data
|
51
|
-
print(len(newdata))
|
52
|
-
if len(self.data) >= offset + len(data):
|
53
|
-
newdata += self.data[offset + len(data) :]
|
54
|
-
print(len(newdata))
|
55
|
-
self.data = newdata
|
56
|
-
return len(data)
|
57
|
-
|
58
|
-
def Flush(self, whatsthis=0):
|
59
|
-
print("Flush", whatsthis)
|
60
|
-
fname = os.path.join(win32api.GetTempPath(), "persist.doc")
|
61
|
-
open(fname, "wb").write(self.data)
|
62
|
-
return S_OK
|
63
|
-
|
64
|
-
def SetSize(self, size):
|
65
|
-
print("Set Size", size)
|
66
|
-
if size > len(self.data):
|
67
|
-
self.data += b"\000" * (size - len(self.data))
|
68
|
-
else:
|
69
|
-
self.data = self.data[0:size]
|
70
|
-
return S_OK
|
71
|
-
|
72
|
-
def LockRegion(self, offset, size, locktype):
|
73
|
-
print("LockRegion")
|
74
|
-
|
75
|
-
def UnlockRegion(self, offset, size, locktype):
|
76
|
-
print("UnlockRegion")
|
77
|
-
|
78
|
-
def Stat(self, statflag):
|
79
|
-
print("returning Stat", statflag)
|
80
|
-
return (
|
81
|
-
"PyMemBytes",
|
82
|
-
storagecon.STGTY_LOCKBYTES,
|
83
|
-
len(self.data),
|
84
|
-
self.mtime,
|
85
|
-
self.ctime,
|
86
|
-
self.atime,
|
87
|
-
storagecon.STGM_DIRECT | storagecon.STGM_READWRITE | storagecon.STGM_CREATE,
|
88
|
-
storagecon.STGM_SHARE_EXCLUSIVE,
|
89
|
-
"{00020905-0000-0000-C000-000000000046}",
|
90
|
-
0, # statebits ?
|
91
|
-
0,
|
92
|
-
)
|
93
|
-
|
94
|
-
|
95
|
-
class OleClientSite:
|
96
|
-
_public_methods_ = [
|
97
|
-
"SaveObject",
|
98
|
-
"GetMoniker",
|
99
|
-
"GetContainer",
|
100
|
-
"ShowObject",
|
101
|
-
"OnShowWindow",
|
102
|
-
"RequestNewObjectLayout",
|
103
|
-
]
|
104
|
-
_com_interfaces_ = [axcontrol.IID_IOleClientSite]
|
105
|
-
|
106
|
-
def __init__(self, data=""):
|
107
|
-
self.IPersistStorage = None
|
108
|
-
self.IStorage = None
|
109
|
-
|
110
|
-
def SetIPersistStorage(self, IPersistStorage):
|
111
|
-
self.IPersistStorage = IPersistStorage
|
112
|
-
|
113
|
-
def SetIStorage(self, IStorage):
|
114
|
-
self.IStorage = IStorage
|
115
|
-
|
116
|
-
def SaveObject(self):
|
117
|
-
print("SaveObject")
|
118
|
-
if self.IPersistStorage is not None and self.IStorage is not None:
|
119
|
-
self.IPersistStorage.Save(self.IStorage, 1)
|
120
|
-
self.IStorage.Commit(0)
|
121
|
-
return S_OK
|
122
|
-
|
123
|
-
def GetMoniker(self, dwAssign, dwWhichMoniker):
|
124
|
-
print("GetMoniker", dwAssign, dwWhichMoniker)
|
125
|
-
|
126
|
-
def GetContainer(self):
|
127
|
-
print("GetContainer")
|
128
|
-
|
129
|
-
def ShowObject(self):
|
130
|
-
print("ShowObject")
|
131
|
-
|
132
|
-
def OnShowWindow(self, fShow):
|
133
|
-
print("ShowObject", fShow)
|
134
|
-
|
135
|
-
def RequestNewObjectLayout(self):
|
136
|
-
print("RequestNewObjectLayout")
|
137
|
-
|
138
|
-
|
139
|
-
def test():
|
140
|
-
# create a LockBytes object and
|
141
|
-
# wrap it as a COM object
|
142
|
-
# import win32com.server.dispatcher
|
143
|
-
lbcom = win32com.server.util.wrap(
|
144
|
-
LockBytes(), pythoncom.IID_ILockBytes
|
145
|
-
) # , useDispatcher=win32com.server.dispatcher.DispatcherWin32trace)
|
146
|
-
|
147
|
-
# create a structured storage on the ILockBytes object
|
148
|
-
stcom = pythoncom.StgCreateDocfileOnILockBytes(
|
149
|
-
lbcom,
|
150
|
-
storagecon.STGM_DIRECT
|
151
|
-
| storagecon.STGM_CREATE
|
152
|
-
| storagecon.STGM_READWRITE
|
153
|
-
| storagecon.STGM_SHARE_EXCLUSIVE,
|
154
|
-
0,
|
155
|
-
)
|
156
|
-
|
157
|
-
# create our ClientSite
|
158
|
-
ocs = OleClientSite()
|
159
|
-
# wrap it as a COM object
|
160
|
-
ocscom = win32com.server.util.wrap(ocs, axcontrol.IID_IOleClientSite)
|
161
|
-
|
162
|
-
# create a Word OLE Document, connect it to our site and our storage
|
163
|
-
oocom = axcontrol.OleCreate(
|
164
|
-
"{00020906-0000-0000-C000-000000000046}",
|
165
|
-
axcontrol.IID_IOleObject,
|
166
|
-
0,
|
167
|
-
(0,),
|
168
|
-
ocscom,
|
169
|
-
stcom,
|
170
|
-
)
|
171
|
-
|
172
|
-
mf = win32ui.GetMainFrame()
|
173
|
-
hwnd = mf.GetSafeHwnd()
|
174
|
-
|
175
|
-
# Set the host and document name
|
176
|
-
# for unknown reason document name becomes hostname, and document name
|
177
|
-
# is not set, debugged it, but don't know where the problem is?
|
178
|
-
oocom.SetHostNames("OTPython", "This is Cool")
|
179
|
-
|
180
|
-
# activate the OLE document
|
181
|
-
oocom.DoVerb(-1, ocscom, 0, hwnd, mf.GetWindowRect())
|
182
|
-
|
183
|
-
# set the hostnames again
|
184
|
-
oocom.SetHostNames("OTPython2", "ThisisCool2")
|
185
|
-
|
186
|
-
# get IDispatch of Word
|
187
|
-
doc = win32com.client.Dispatch(oocom.QueryInterface(pythoncom.IID_IDispatch))
|
188
|
-
|
189
|
-
# get IPersistStorage of Word
|
190
|
-
dpcom = oocom.QueryInterface(pythoncom.IID_IPersistStorage)
|
191
|
-
|
192
|
-
# let our ClientSite know the interfaces
|
193
|
-
ocs.SetIPersistStorage(dpcom)
|
194
|
-
ocs.SetIStorage(stcom)
|
195
|
-
|
196
|
-
# use IDispatch to do the Office Word test
|
197
|
-
# pasted from TestOffice.py
|
198
|
-
|
199
|
-
wrange = doc.Range()
|
200
|
-
for i in range(10):
|
201
|
-
wrange.InsertAfter("Hello from Python %d\n" % i)
|
202
|
-
paras = doc.Paragraphs
|
203
|
-
for i in range(len(paras)):
|
204
|
-
paras[i]().Font.ColorIndex = i + 1
|
205
|
-
paras[i]().Font.Size = 12 + (4 * i)
|
206
|
-
# XXX - note that
|
207
|
-
# for para in paras:
|
208
|
-
# para().Font...
|
209
|
-
# doesn't seem to work - no error, just doesn't work
|
210
|
-
# Should check if it works for VB!
|
211
|
-
|
212
|
-
dpcom.Save(stcom, 0)
|
213
|
-
dpcom.HandsOffStorage()
|
214
|
-
# oocom.Close(axcontrol.OLECLOSE_NOSAVE) # or OLECLOSE_SAVEIFDIRTY, but it fails???
|
215
|
-
|
216
|
-
# Save the ILockBytes data to "persist2.doc"
|
217
|
-
lbcom.Flush()
|
218
|
-
|
219
|
-
# exiting Winword will automatically update the ILockBytes data
|
220
|
-
# and flush it to "%TEMP%\persist.doc"
|
221
|
-
doc.Application.Quit()
|
222
|
-
|
223
|
-
|
224
|
-
if __name__ == "__main__":
|
225
|
-
test()
|
226
|
-
pythoncom.CoUninitialize()
|
227
|
-
CheckClean()
|