You might have heard that functions in python are callable objects. In this article, we will discuss what exactly we mean by the term callable object. … [Read more...] about Callable Objects in Python
Basics
Our Python Basics articles cover everything for the beginning programmer. If you are just starting to learn python, this is a great place to start. We cover setting up your environment to every facet of python functionality. You will find plenty to learn from in this section.
Generator Comprehension in Python
You might have used list comprehension for creating lists from different sequences and container objects. In this article, We will discuss generator … [Read more...] about Generator Comprehension in Python
Python Comparison Operator
There are various types of operators like arithmetic operators, comparison operators, and bitwise operators in Python. In our programs, we use these … [Read more...] about Python Comparison Operator
Generators in Python
Do you know about functions in python? If you answered yes, let me take you through an interesting concept of generator functions and generators in … [Read more...] about Generators in Python
Closures in Python
You might have heard about decorators in Python. Decorators are implemented using a closure. In this article, we will study closures in python. To … [Read more...] about Closures in Python
Python Bitwise Operators
There are various types of operators like arithmetic operators, comparison operators, and bitwise operators in Python. In our programs, we use these … [Read more...] about Python Bitwise Operators
Bitwise Shift Operators in Python
There are various types of operators like arithmetic operators, comparison operators, and bitwise operators in Python. In our programs, we use these … [Read more...] about Bitwise Shift Operators in Python
Python Scope
While programming in python, we have to deal with various constructs like variables, functions, modules, libraries, etc. In several instances, … [Read more...] about Python Scope
Set Comprehension in Python
In python programming, we use different data structures like lists, tuples, sets, and dictionaries. Often we create new lists, sets or dictionaries … [Read more...] about Set Comprehension in Python
How to create an iterator in Python
Iterators are used to access the elements of an iterable object in a sequential manner. We can create an iterator for any container object such as a … [Read more...] about How to create an iterator in Python