Skip to Main Content
Python Programming Blueprints
book

Python Programming Blueprints

by Daniel Furtado, Marcus Pennington
February 2018
Intermediate to advanced content levelIntermediate to advanced
456 pages
9h 56m
English
Packt Publishing
Content preview from Python Programming Blueprints

Creating the command line parser

I have to confess one thing: I'm a command-line type of guy. Yes, I know it is considered by some people as outdated, but I love doing work on the terminal. I am definitely more productive and if you are using Linux or macOS, you can combine tools to get the results that you want. That's the reason that we are going to add a command line parser for this project.

There are some things we need to implement in order to start creating the command line parser. One functionality that we are going to add is the possibility of setting a default currency, which will avoid user of our application always having to specify the base currency to perform currency conversions.

To do that, we are going to create an action, ...

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

Intelligent Projects Using Python

Intelligent Projects Using Python

Santanu Pattanayak, Manohar Swamynathan
Flask Blueprints

Flask Blueprints

Joël Perras
Matplotlib for Python Developers - Second Edition

Matplotlib for Python Developers - Second Edition

Aldrin Yim, Claire Chung, Allen Yu

Publisher Resources

ISBN: 9781786468161Supplemental Content