Python - Digi ConnectPort LTS8 Command Reference Manual

Connectport lts series terminal server
Hide thumbs Also See for ConnectPort LTS8:
Table of Contents

Advertisement

Command descriptions

python

Purpose
Manually executes a Python program from the command line. The "python" command is similar to a
command executed on a PC. However, other than a program name and arguments for the program,
the command takes no arguments itself, and is currently unable to spawn an interactive session.
Syntax
python [ tftp server ip address :] filename
[ program arguments ...]
Options
[(tftp server ip address):]filename
The main file to be executed. This file can be either a file on the file system accessed through the Web
UI, or a file accessible through a TFTP server on the network. This TFTP functionality reduces the
number of times that you may need to place a program on the file system while developing and
refining functionality. However, the TFTP behavior only works for the main program. Modules and
packages must still be present on the file system to be used.
program arguments...
Arguments to be supplied to the program.
See also
set python
n
The Digi Python Programming Guide to learn more about the Python programming language as
n
implemented in Digi products, and writing Python programs.
ConnectPort® LTS Command Reference
to manually execute a Python program.
python
40

Advertisement

Table of Contents
loading

Table of Contents