Python Databases

Python Databases: Python Database is a collection of information that is organized so that it can be easily accessed, managed and updated. Python standard for database interface is python DB-API. …

Read morePython Databases

Python Exceptions

Python Exceptions: An exception is an event, which occurs during the execution of the program. Python has many built-in exceptions that force your program to output an error when something …

Read morePython Exceptions

Python Modules

Python Modules: It is an object with arbitrarily named attributes that you can bind and reference. Python module can define functions, classes, and variables. Grouping related code into a module …

Read morePython Modules

Python Iterators

Python Iterators: Python Iterator is an object that contains a countable no.of values. In python, an iterator is an object which implements iterator protocol, consisting of methods _iter_ ( ) …

Read morePython Iterators

Python Functions

Python functions: It can be referred to as a block of code that performs a specific task. A function declaration tells the compiler about a function’s name, return type, and …

Read morePython Functions

Python Dictionary

Python Dictionary: A dictionary maps a set of objects (keys) to another set of objects (values). A Python dictionary is a mapping of unique keys to values. In Python, Dictionaries …

Read morePython Dictionary

Python Tuples

Python Tuples: In Python, a tuple is a collection which is ordered and unchangeable. It is another sequence data type which is similar to list. A tuple consists of no.of …

Read morePython Tuples

Python Sets

Python Sets: Python set is an unordered collection data type that is iterable, mutable, and has no duplicate elements. The order of elements in a set is undefined. Python’s set class …

Read morePython Sets

Python Lists

Python Lists: A list is a collection of ordered and changeable. In python, lists are written in square brackets. To some extent, lists are similar to arrays in C. The …

Read morePython Lists

Python Strings

Python Strings: Strings in Python can be as a sequence of characters of a derived data type. Python Strings are immutable. It means if once a string is assigned, it …

Read morePython Strings

Python Arrays

Python Arrays:  An array is a data structure that contains a group of elements. Python arrays are commonly used to organize data so that the related set of values can …

Read morePython Arrays

Python Loops

Python Loops: In Python, Loops are used to execute a block of code multiple times according to the condition. A loop function uses almost identical logic and syntax in all …

Read morePython Loops

Python Statements

Python Statements: A statement is a command that the programmers give to the compiler. There is a different type of statements in python. They are as follows: Python If Else, Elif, …

Read morePython Statements

Python Operators

Python operators can be used to perform operations on variables and values. There is a different type of operations which can be performed. Python Operators Python Arithmetic operators Assignment operators Comparison …

Read morePython Operators

Python Data types

Python Data types: Data Type is an attribute that tells which kind of data that a value can have and informs the compilers about predefined attributes required by specific variables or …

Read morePython Data types

Python Variables

Python Variables: These are nothing but they are known as reserved memory locations to store values. (or) assigning storage space for your variables. And these are based upon the data …

Read morePython Variables

Python Features

Python Features: It supports object-oriented programming as well as procedural oriented programming. In Python, we don’t need to declare the type of variable because it is a dynamically typed language. …

Read morePython Features

Uses of Python

Uses of Python: Before going deep into the Python language, let us learn what & why only Python can do. And also know about the uses of Python. What does …

Read moreUses of Python