Installing Python

Problem

Use Python to enhance the abilities and performance of Loftware software. Typically, you would use scripting to implement some computation algorithms, such as check-digit algorithms, or to add decision-making into your labels or solutions.

Loftware installation includes embedded IronPython that allows you to use both Python modules and .NET assemblies in your code. If you want to use the non-standard Python modules, install desktop Python on your computer.

See also Use Python scripting in Loftware.

Solution

Install two components: Python core and Python for Windows extension (PyWin32).

  1. Close Loftware.

  2. Go to the Python download page. Download version 2.7.X, (not version 3).

  3. Download 32-bit Python for Windows Extensions for Python 2.7.

  4. Install Python 2.7.

  5. Install PyWin32 extensions.

Note

Python and PyWin32 should be both the same bitness (32 bit or 64 bit).