exit()

Use exit() to exit the Python shell.

Syntax

exit()

Views

Python shell

Predefined user roles

network-admin

mdc-admin

Usage guidelines

To return to user view from the Python shell, you must use this command. You cannot use the quit command for the purpose.

Examples

# Exit the Python shell.

Python 2.7.3 (default, Apr 10 2014, 16:30:23)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> exit()
<Sysname>