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 #276 background imageLoading...
Page #276 background image
268
Python commands
exit()
Use exit() to exit the Python shell.
Syntax
exit()
Views
Python shell
Predefined user roles
network-admin
Usage guidelines
To return to user view from the Python shell, you cannot use the quit command. You must use the
exit() command.
Examples
# Exit the Python shell.
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> exit()
<Sysname>
python
Use python to enter the Python shell.
Syntax
python
Views
User view
Predefined user roles
network-admin
Usage guidelines
In the Python shell, you can use the following items:
• Python 2.7 commands.
• Python 2.7 standard API.
• Comware 7 extended API.
Examples
# Enter the Python shell.
<Sysname> python
Python 2.7.3 (default)
[GCC 4.4.1] on linux2

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