Archive for category Python Recipes
This python recipe demonstrates how to use ShowHTMLDialog with Python, ctypes and comtypes on Windows.
The recipe described in this post demonstrates how to write foreground and background colored text in a Windows Command Line with Python and ctypes.
The previous Python Tip, XML Schema Validation with Python, MSXML and PyWin32, described how to use PyWin32 and MSXML to validate XML contents against an XML Schema. The adaptation to perform the same with comtypes instead of PyWin32 is a simple translation. Read the rest of this entry »
Python ships with XML libraries, but none addressing XML Schema validation. Several options are available to make up for this feature. The solution demonstrated in this Python Tip is a basic implementation of XML schema validation using MSXML and PyWin32. Read the rest of this entry »