beautypg.com

Configure applications, Python® program management, Recommended distribution of python interpreter – Digi X2 User Manual

Page 164: Additional python programming resources

background image

C o n f i g u r a t i o n t h r o u g h t h e w e b i n t e r f a c e

1 6 4

Configure applications

Several Digi devices support additional configurable applications. For most devices, these

applications are accessed from the main menu under Applications. Some devices have an

Applications link under Configuration.

Python

®

program management

ConnectPort X Family products support loading and running programs written in the

Python programming language on ConnectPort X devices.

Python is a dynamic, object-oriented language that can be used for developing a wide

range of software applications, from simple programs to more complex embedded

applications. It includes extensive libraries and works well with other languages. A true

open-source language, Python runs on a wide range of operating systems, such as

Windows, Linux/Unix, Mac OS X, OS/2, Amiga, Palm Handhelds, and Nokia mobile

phones. Python has also been ported to Java and .NET virtual machines.

Recommended distribution of Python interpreter

The current version of the Python interpreter embedded in Digi devices is 2.4.3. Please

use modules known to be compatible with this version of the Python language only.

Additional Python programming resources

The Digi Python Programming Handbook introduces the Python programming language

and describes Digi’s implementation of Python modules.

For additional information on the Python Programming Language, go to http://

www.python.org/ and click the Documentation link.

Python configuration pages

Selecting Applications > Python from the main menu for a ConnectPort X Family device

displays the Python Configuration pages. These pages are used to:

Manage Python program files, including uploading them to Digi devices and
deleting them as needed.

Configure Python programs to execute when the Digi device boots, also known
as auto-start programs.