© Matthew Wilkes 2020
M. WilkesAdvanced Python Developmenthttps://doi.org/10.1007/978-1-4842-5793-7_5

5. Alternative interfaces

Matthew Wilkes1 
(1)
Leeds, West Yorkshire, UK
 

We have a command-line tool that reports the results of various data collection functions on a server, but being able to connect to a server and run a command-line tool to check their current state isn’t a sustainable way to monitor a lot of data collection systems. We don’t want to have to note down the results from multiple command-line tool invocations and analyze them by hand. It would be better to be able to collect the information automatically, as well as be able to analyze the raw values, rather than the formatted result that we show to users.

Rather than write a program ...

Get Advanced Python Development: Using Powerful Language Features in Real-World Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.