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 6: Use Advanced Click Features

Alfredo Deza

Once you are past simple command-line tools that have a particular objective, it is time to move on and explore solutions that perhaps you weren’t aware you needed. Recently at work, I was in charge of rethinking the reporting output of a command-line tool that was providing a table with columns and headers as the default format. The problem with a header-and-column format is that users will end up wanting more columns and get more information. This is what ended happening to this tool at work. It was reporting so many columns that the output would not fit in my large monitor. When the information reported has any chance of including more fields, it will. Users aren’t all the same; consumers ...

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