Python Classroom notes 03/May/2025

Python Exceptions

  • Refer Here for python exceptions
  • 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
  • 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 comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%