Python Classroom notes 20/Dec/2024

Python

Composition

Python Standard Library

Build an investment Calculator

  • Lets build a cli application with modular design to perform investment calculations
  • For documentation use markdown, cheatsheet

CLI Applications

  • Any CLI application will take arguments
  • Arguments are of two types
  • positional
ping google.com
cp 1.txt 2.txt
mkdir test
  • keyword
ansible --help

az group add --name test --location centralindia
  • I want to build a cli for my application which looks as
calculator.py --amount 100 --type fd --rate 7 --time 1
107

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube