MIMIC Python API Guide

  1. Table of Contents
  2. Requirements
  3. The MIMIC Python API is an optional Update Wizard package, and requires the use of the Python 2.7 or later. Python is already installed on Linux platforms, but will have to be installed on the other platforms. MIMIC has been tested with Python 2.7.3 and 3.3.2 on Linux, and Python 2.7 and 3.5.1 on Windows.

  4. Class Reference
  5. The Python API is modelled after the Java API. All classes and methods have the same name as in Java, except that Python programming constructs are used. Click here for the generated Java reference documentation.

  6. Examples
    • The TestApp.py program is an small test program to exercise the MIMIC API.

    • The tkdemo.py sample program uses the TkInter GUI framework to implement the equivalent of the tkdemo.mtcl Tcl script.

  7. Jython
    • The Python API has been tested against Jython using version 2.2.1 on both Windows Vista and Linux (Fedora Core 8).

    • A performance test of the Python API in a Jython environment shows a significant loss in response time as compared to a native Python enviroment.