ShowHTMLDialog with Python and ctypes
This python recipe demonstrates how to use the Win32 ShowHTMLDialog()
with Python, ctypes
and comtypes
on Windows.
This python recipe demonstrates how to use the Win32 ShowHTMLDialog()
with Python, ctypes
and comtypes
on Windows.
The code in this article demonstrates how to write foreground and background colored text in a Windows Console using Python and ctypes.
In XML Schema Validation with Python, MSXML and PyWin32, I described how to use PyWin32 and MSXML to validate XML contents against an XML Schema. This article is an adaptation of the previous, substituting PyWin32
with comtypes
to perform XML schema validation with Python on Windows.
Python ships with XML libraries, but none addressing XML Schema validation. Several options are available to make up for this missing feature. The solution demonstrated in this article is a basic implementation of XML schema validation using MSXML and PyWin32. This is only compatible with Windows.
On Microsoft Windows one uses intensively Windows Explorer to access files on the system. Sometimes it is also necessary to open a command line in order to run commands that are not available via Windows Explorer. Wouldn't it be nice to open a command line in a folder from Windows Explorer? This article describes some of the options and provides complementary resources.