Error Handling

In Python, if the program is syntactically correct but results in error generally is exception error like dividing by zero will leads to exception error. We have built-in exception error…

0 Comments

Special Methods

Special methods are predefined methods of any class. We create objects like using range, zip, then these objects have certain predefined methods like next() or __next__. Special methods are recognized…

0 Comments

Logging

Logging is very useful for a program at debugging side. It will keep track of the logs/operations performed during the program. Python provides the standard library to perform logging. You…

0 Comments

Decorators

Decorators in Python is a very useful concept as it helps in making a function or class more dynamic. In decorators, we have wrapper function(inner function) and we are passing…

0 Comments

Args and kwargs

Args and kwargs stand for arguments, key and word arguments. Actually, the idea behind args and kwargs is that it happens many times when we don't know how many parameters…

0 Comments
Close Menu