About the Python API
Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python website:
http://www.python.org/
The same site also contains distributions of and pointers to many free third-party Python modules, programs and tools, and more documentation.
The Cisco Nexus Series devices support Python v2.7.5 in both interactive and noninteractive (script) modes and are available in the Guest Shell.
The Python scripting capability gives programmatic access to the device's command-line interface (CLI) to perform various tasks and Power On Auto Provisioning (POAP) or Embedded Event Manager (EEM) actions. Python also can be accessed from the Bash shell.
The Python interpreter is available in the Cisco NX-OS software.