How to use Sys Module in Python

how-to-use-sys-module-in-python

Python sys module is the built-in module that provides various functions and variables that are used to manipulate different parts of the Python runtime environment. These variables and functions can be controlled by the interpreter at run time and it is always available.

What are SOLID Design Principles

solid-design-principles

SOLID is an acronym for five fundamental object-oriented design principles and they are the Single Responsibility Principle, Open/Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, and dependency Inversion Principle.

How to Verify Email in Python

verify-email-python

Email is a method of exchanging messages between people using electronic devices. It is a widely-used communication medium that can also be used for signing up in the application. Keeping this in mind, lots of invalid emails can cause the use of high bandwidth resulting in an increase in cost. So, the email field should … Read more

Duck Typing and Strong Typing in Python

duck-typing-and-strong-typing-in-python

The name duck typing came from the phrase “if it walks like a duck and quacks like a duck, then it is a duck” and duck typing is a concept related to dynamic programming that focuses on the presence of methods rather than the type of the object.

Python Dictionary Methods with Examples

Dictionary is one of the Python built-in data types that act as the container for key-value pairs. It is also called ‘associative memories’ or ‘associative arrays’ in other programming languages. Python dictionaries are indexed by keys, and it is mutable in nature. Except its keys are immutable types and values can support either mutable or … Read more