PY20 – Generators in Python

Iterators used to iterate through the sequential (iterable) objects Sequential objects like lists, tuples, dicts, and sets Iterator implementation difficulties: Need to create a class…

PY19 – Decorators in Python

First class objects Functions in Python are the first class objects First class objects – can be used or passed as arguments Properties of first class…

PY18 – Modules in Python

Module → File with python code statements and definitions Python code file with name omprosoft.py will be a module with name omprosoft module can define functions,…

PY15 – File handling in Python

Python file handling operations include Creation of file Reading from file Writing to file Appending to file Delete of file Python handles all these operations…

PY13 – Collections in Python

Collection module implements specialized container data types Collection Description namedtuple() factory function for creating tuple subclasses with named fields deque list-like container with fast appends…

PY12 – Flow controls & loops in Python

Flow Controls If-else statement are part of decision making in sequential execution of the program Based on True or False of given condition, program workflow…