DevOps Classroom notes 11/Oct/2025

Python Standard Library

  • This refers to all the library available with python installation
  • Refer Here for standard library
  • Refer Here for using environmental variables in python
  • Dealing with paths
    • os.path
    • pathlib
  • shutil

Build a cli application

  • Design
calc <group> <command> [--argname value ...] [options]

  • group: Category (basic, scientific, financial)
  • command: Operation (add, pow, npv, fv)
  • keyword args: Named parameters instead of fixed positions (–num1 2 –num2 3)
  • options: Flags like –precision
calc basic add --num1 2 --num2 3
calc basic div --num1 10 --num2 3 --precision 2
  • Exercise:
    • Find out what getopt is .
    • How to build a cli in shell script calc.sh add 1 2

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube