EasyManuals Logo

HPE FlexFabric 5940 SERIES Fundamentals Command Reference

HPE FlexFabric 5940 SERIES
289 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #277 background imageLoading...
Page #277 background image
269
Type "help", "copyright", "credits" or "license" for more information.
>>>
python filename
Use python filename to execute a Python script.
Syntax
python filename [ param ]
Views
User view
Predefined user roles
network-admin
Parameters
filename: Specifies the name of a Python script on a storage medium 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 operations while you are executing a Python script.
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']

Table of Contents

Other manuals for HPE FlexFabric 5940 SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexFabric 5940 SERIES and is the answer not in the manual?

HPE FlexFabric 5940 SERIES Specifications

General IconGeneral
BrandHPE
ModelFlexFabric 5940 SERIES
CategorySwitch
LanguageEnglish

Related product manuals