Gen-AI Developer Classroom notes 17/Mar/2025

Python Standard Library

Exception Handling

  • Refer Here for python errors and exceptions
  • Python Exception Class Hierarchy
    Preview
  • It revolves
    • try, except and finally block
    • Class Hierarchy
    • Custom Exceptions
  • Refer Here for the article

File Handling in Python

  • We have two types of files
    • text files
    • binary files
  • Refer Here for the article
  • To add persistence to applications we have following options
    • text/binary files
    • json/yaml files
    • sql databases
    • no sql databases
  • Exercise:
    • Figure out file modes in python
  • Refer Here for samples used in the class.

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

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

Continue reading