Command descriptions
python
ConnectPort® LTS Command Reference
40
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
n
to manually execute a Python program.
n
The
Digi Python Programming Guide
to learn more about the Python programming language as
implemented in Digi products, and writing Python programs.
Содержание ConnectPort LTS 16
Страница 1: ...ConnectPort LTS Command Reference ...
Страница 117: ...Command descriptions set service ConnectPort LTS Command Reference 117 See also n revert n set network n show ...
Страница 152: ...Command descriptions set usb ConnectPort LTS Command Reference 152 Example Format the USB memory set usb format id 1 ...