Python Classroom notes 07/Apr/2026

Standard library

  • We will look into

    • File management
    • data formats
    • date time handling
    • threading and async
    • logging
    • cryptography
  • in addition to these we would be learning

    • context managers
    • generators
    • exception handling
    • decorators

File Management

Built-ins

Basic file creation, appending, reading

  • open built in function can deal with files Refer Here
  • open function we can pass file path and mode r, w, a, x, rb, wb, ab, +
  • paths:

    • absoulte
    • relative
  • Basic file reading and writing (find in the notebook)

Context Manager

  • A context manager in python is a class which has __enter__ and __exit__ methods

By continuous learner

enthusiastic technology learner

Leave a comment