Python Classroom notes 03/May/2025

Python Exceptions

  • Refer Here for python exceptions
    Preview
  • Errors: represent conditions such as which cannot be handled

    • compilatioon
    • syntax
    • logical part of the code
  • Exceptions: can be caught and handled by the program
  • Exception Handling: For this we have try..except Block
  • Refer Here for the jupyter notebook with exception handling

Calculator CLI

  • Lets try to build an application which does calcuations i.e. we will be builing a calculator.
    • Investment Calculator
    • Loan Calculator
    • Tax Caclulator
  • Create the virtual environment and activate the virtual environment from terminal
  • Open the folder in visual studio code and Select the Python interpreter Ctrl+shift+p
    Preview
  • Refer Here for the first set of changes done in the application with abstract classes
  • Refer Here for the code which we have written and Refer Here for changeset

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