HP 6125XLG Command Reference Manual page 250

Blade
Table of Contents

Advertisement

Parameters
filename: Specifies the name of a Python script on a storage medium (flash memory) of the device. The
script name is case sensitive and must use the extension .py. The extension .py is case insensitive.
param: Specifies the parameters to be passed to the script. To enter multiple parameters, use spaces as
the delimiter.
Usage guidelines
You cannot perform any operation while a Python script is being executed by your command.
Make sure the statements in the script meet the syntax requirements. The system stops executing a Python
script if it finds a statement with syntax errors.
When executing a script, the system uses the defaults for interactive statements. The system does not stop
for human input.
Examples
# Execute Python script test.py.
<Sysname> python test.py 1 2
['/flash:/test.py', '1', '2']
242

Advertisement

Table of Contents
loading

Table of Contents