Python

19 / 19 posts

Python Basic

py --version python --version # \n : Newline # \t : Tab # \\ : Backslash # \" : Double quote # \' : Single quot print("Hello, World!\nThis is a new line.")…

Variable Python
Mar 19, 2026 6 min read

List,Tuple,Set and Dictionary in Python

🔹 List (सूची) 📌 Definition : List ek aisi collection hai jo ordered (क्रमबद्ध) aur mutable (बदलने योग्य) होती है. Ismein duplicate values allowed hain. m…

Python
Mar 19, 2026 2 min read

CLASSES in Python

ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग (Object-Oriented Programming या OOP) एक तरीका है प्रोग्राम लिखने का, जिसमें हम क्लास (class) और ऑब्जेक्ट (object) का इस्तेमा…

Class CLASSES Inheritance
Mar 19, 2026 5 min read

DateTime in Python

In Python, the datetime module provides classes for manipulating dates and times. It offers several functions and methods to create, manipulate, and format…

Python
Mar 19, 2026 3 min read

Functions and Modules in Python

def Grreting(name): print("Hello, " + name + "! Welcome to Python programming.") def main(): user_name = input("Please enter your name: ") Grreting(user_na…

Functions Modules Python
Mar 19, 2026 4 min read

Addition, subtraction, multiplication, and dot product using NumPy in Python:

Here are some examples of addition, subtraction, multiplication, and dot product using NumPy in Python: import numpy as np # Create two arrays a = np.array…

Mar 19, 2026 1 min read

Matplotlib Pyplot for Visualisation

Pyplot Most of the Matplotlib utilities lies under the  pyplot  submodule, and are usually imported under the  plt  alias: import matpl…

data-visualization
Mar 19, 2026 3 min read

Seaborn

Seaborn is a powerful and easy-to-use data visualization library in Python built on top of Matplotlib. It's great for creating attractive and informative s…

Python
Mar 19, 2026 5 min read

Making API Calls in Python

APIs (Application Programming Interfaces) are the bridges that allow different software systems to communicate with each other. pip install requests import…

CRUD API exceptions RequestException
Mar 19, 2026 6 min read

MongoDB connect with Python

Python needs a MongoDB driver to access the MongoDB database. We will use the MongoDB driver "PyMongo". # Creating a Database import pymongo myclient = pym…

Python
Mar 19, 2026 1 min read

EasyDict dictionaries

EasyDict is a subclass of Python's built-in dictionary that allows accessing dictionary keys as attributes like JavaScript object. pip install easydict fro…

Python
Mar 19, 2026 1 min read

Error & Exception Handling in Python

Error और Exception Handling का मतलब है — प्रोग्राम में चलने के दौरान जो गलतियाँ (errors) आती हैं, उन्हें पहचानना और उनका सही तरीके से समाधान करना, ताकि प्र…

Error & Exception Handling Error Handling Python
Mar 19, 2026 3 min read

Python String format()/f-string Method

Python में format() / f-string method का उपयोग Strings में वैल्यूज़ को dynamic तरीके से insert करने के लिए किया जाता है। यह एक बहुत ही powerful और readable…

f-string format string
Mar 19, 2026 2 min read

Working with JSON Data in Python (Using APIs and Built-in JSON Module)

इस टॉपिक में हम Python में JSON (JavaScript Object Notation) के साथ कैसे काम करते हैं, ये सीखते हैं। JSON एक डेटा फॉर्मेट है जो डेटा को store और transfer क…

api api integration github api
Mar 19, 2026 2 min read

File Handling(create, read, write, and delete files etc.)

File Handling in Python allows us to create, read, write, and delete files . It's an essential feature when working with data that needs to be stored perma…

copy create folder delete
Mar 19, 2026 5 min read

Advance Python Concept

The @property decorator in Python is used to make a method behave like an attribute . It allows you to define getters, setters, and deleters in an elegant …

Decorators property Python
Mar 19, 2026 6 min read

Static Methods and Class Methods in Python

🧠 First, the Basics: In Python, there are 3 main types of methods inside a class: Instance Method → Works with object (instance) Class Method → Works with…

Class Methods Instance Method Static Methods
Mar 19, 2026 2 min read

Magic (Dunder) Methods in Python

Magic methods (also known as dunder methods , short for double underscore ) in Python are special methods that have double underscores before and after the…

double underscore Dunder Magic method
Mar 19, 2026 2 min read

Map, Filter, and Reduce in Python

Programming me kabhi kabhi aisa hota hai ki tumhe list ke saare elements pe ek kaam karna ho , ya phir kuch elements ko condition ke hisaab se nikalna ho ,…

Filter Map Reduce
Mar 19, 2026 2 min read