Skip to Main Content
Python Command Line Tools
book

Python Command Line Tools

by Alfredo Deza, Noah Gift
May 2020
Intermediate to advanced content levelIntermediate to advanced
117 pages
1h 57m
English
Pragmatic AI Labs
Content preview from Python Command Line Tools

Chapter 3: Understand IPython

Noah Gift

Back in 2007 I wrote an article for IBM Developerworks on IPython and SNMP (Simple Network Management Protocol) and this chapter steals some of those ideas. In the physical data center era, the SNMP protocol is a useful way to collect metrics about CPU, memory, and the performance of a particular machine.

What makes IPython, the software engine behind Jupyter Notebook particularly useful is the interactive nature. An object or variable is “declared,” then it is “played with.” This style is quite helpful.

Here is an example of how that works. A user can import the library snmp, declare a variable oid, then pass it into the library and get a result. This step dramatically speeds up the ability to build ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python CI/CD for the Command-Line

Python CI/CD for the Command-Line

Alfredo Deza, Noah Gift
Intuitive Python

Intuitive Python

David Muller
Learning Python Networking - Second Edition

Learning Python Networking - Second Edition

José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington

Publisher Resources

ISBN: 61619PAIMLPurchase LinkOtherOtherOther