Posts Tagged Python

ShowHTMLDialog with Python and ctypes

This python recipe demonstrates how to use ShowHTMLDialog with Python, ctypes and comtypes on Windows.

showhtmldialog

Read the rest of this entry »

, , ,

No Comments

Bring Colors to the Windows Console with Python

The recipe described in this post demonstrates how to write foreground and background colored text in a Windows Command Line with Python and ctypes.

Colored text in a windows terminal with Python and ctypes

Colored text in a windows terminal with Python and ctypes

Read the rest of this entry »

, ,

11 Comments

XML Schema Validation with Python, MSXML and comtypes

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 »

, , ,

4 Comments

XML Schema Validation with Python, MSXML and PyWin32

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 »

, , ,

1 Comment

Testing Java with Jython and PyUnit

JUnit, the unit test framework written by Erich Gamma and Kent Beck, is not the only alternative for unit testing in the Java environment. This article provides a simple demonstration on how to use Jython, PyUnit and Ant to unit test a Java project. To provide better elements of comparison, the example provided is the same as the one available in the JUnit distribution: MoneyTest. Read the rest of this entry »

, , ,

2 Comments

Tester Java avec Jython et PyUnit

Réaliser les tests unitaires d’applications Java en combinant l’utilisation de Jython, PyUnit et Apache Ant peut être une viable alternative à l’usage exclusif de JUnit. Read the rest of this entry »

, , , ,

2 Comments

Javadoc To CHM

Javadoc To CHM is a software that generates Microsoft HTML Help projects files from a Javadoc documentation. It generates the project file (.HHP), the contents file (.HHC) and the index file (.HHK). After having generated the HTML project files, Jd2chm invokes the Microsoft HTML Help Compiler (hhc.exe) with the project file (.HHP) as parameter in order to build the Compiled HTML file (.CHM). Read the rest of this entry »

, ,

8 Comments

Javadoc To CHM

Javadoc To CHM (jd2chm) est un programme qui, à partir d’un ensemble de fichiers Javadoc, génère les sources nécessaires à la création d’une aide au format CHM (Microsoft Compiled HTML Help). Après avoir produit le fichier projet (.HHP), le fichier de contenu (.HHC) et le fichier d’index (.HHK), Jd2chm lance hhc.exe (compilateur d’aide Microsoft), afin de complèter l’aide au format CHM. Read the rest of this entry »

, , ,

No Comments