Articles on Trending Technologies

Technical articles with clear explanations and examples

Windows 10 Toast Notifications with Python

Pavitra
Pavitra
Updated on 25-Mar-2026 1K+ Views

We can create toast notifications for Windows 10 events using Python. This is very simple with the win10toast module. If you are familiar with Toast notifications in Android, then understanding toast notifications with Python is straightforward. We can generate notifications whenever an event occurs as a reminder. Installation Run the following command in command-line to install the win10toast module ? pip install win10toast If the module is successfully installed, you will get output similar to this ? Collecting win10toast Downloading https://files.pythonhosted.org/packages/d4/ba/95c0ea87d9bcad68b90d8cb130a313b939c88d8338a2fed7c11eaee972fe/win10toast-0.9-py2.py3-none-any.whl Collecting pypiwin32 (from win10toast) Installing collected packages: pypiwin32, win10toast Successfully installed ...

Read More

What are the tools to support Data Science other than Python and R?

Pavitra
Pavitra
Updated on 25-Mar-2026 243 Views

While Python and R dominate data science, numerous other powerful tools exist for data processing, storage, analysis, and machine learning. These tools complement programming languages and provide specialized capabilities for handling big data, distributed computing, and enterprise-scale analytics. Apache Hadoop Apache Hadoop is a Java-based open-source framework designed for distributed storage and processing of large datasets across clusters of computers. Key Features Distributed Storage − Uses Hadoop Distributed File System (HDFS) to store data across multiple nodes Fault Tolerance − Automatically handles hardware failures by replicating data Scalability − Can scale from single servers to ...

Read More

K'th Non-repeating Character in Python using List Comprehension and OrderedDict

Pavitra
Pavitra
Updated on 25-Mar-2026 491 Views

In this article, we will learn how to find the K'th non-repeating character in a string using Python's List Comprehension and OrderedDict. This approach maintains the order of first occurrence while efficiently counting character frequencies. Algorithm The algorithm follows these steps: 1. Create an OrderedDict from the input string to maintain insertion order 2. Count the frequency of each character by iterating through the string 3. Extract all characters that appear exactly once using list comprehension 4. Return the (k-1)th element from the non-repeating characters list Example Let's implement the solution to find ...

Read More

Introduction-to-convolutions-using-python

Pavitra
Pavitra
Updated on 25-Mar-2026 428 Views

In this article, we will learn about convolutions in Python. Convolution is a fundamental operation in computer vision and neural networks for feature extraction from images. Prerequisites − NumPy, Matplotlib Installation pip install numpy pip install matplotlib What is Convolution? Convolution is a mathematical operation performed on an image to extract features by applying a smaller matrix called a kernel (or filter) that slides over the image like a window. Depending on the values in the kernel, we can detect specific patterns such as edges, corners, or textures. ...

Read More

Internal working of the list in Python

Pavitra
Pavitra
Updated on 25-Mar-2026 456 Views

In this tutorial, we will learn about the internal working of lists in Python. We will explore how Python manages list objects in memory and examine the frame formation when we execute different list operations step by step. List Initialization When we create a list with elements, Python allocates memory and creates a list object ? lis = [1, 2, 3, 4] print(lis) print(f"List ID: {id(lis)}") print(f"List length: {len(lis)}") [1, 2, 3, 4] List ID: 140712234567808 List length: 4 Global Frame lis ...

Read More

Interesting Python Implementation for Next Greater Elements

Pavitra
Pavitra
Updated on 25-Mar-2026 227 Views

In this article, we will learn how to find the Next Greater Element for each element in an array. The Next Greater Element is the first larger element that appears to the right of the current element in the array. Problem Statement Given an array of integers, we need to find the Next Greater Element for every element. For elements that don't have a greater element on their right side, we return -1. Example Input and Output For the array [12, 1, 2, 3] − 12 → -1 (no element greater than 12 ...

Read More

issubset() function in Python

Pavitra
Pavitra
Updated on 25-Mar-2026 454 Views

In this article, we will learn the implementation and usage of issubset() function available in the Python Standard Library. The issubset() method returns boolean True when all elements of a set are present in another set (passed as an argument) otherwise, it returns boolean False. In the figure given below B is a subset of A. When A & B are identical sets, A is considered a proper subset of B, meaning both sets contain the same elements. Set A ...

Read More

Input/Output from external file in C/C++, Java and Python for Competitive Programming

Pavitra
Pavitra
Updated on 25-Mar-2026 569 Views

In competitive programming, reading input from files and writing output to files is essential for testing solutions locally. This article covers file I/O techniques in Python, Java, and C/C++. Python I/O from File Python uses the sys module to redirect standard input and output to files. This approach allows you to use regular input() and print() functions while reading from and writing to files ? Example import sys # Redirect input from file sys.stdin = open('input.txt', 'r') # Redirect output to file sys.stdout = open('output.txt', 'w') # Now use regular ...

Read More

IDE for Python programming on Windows

Pavitra
Pavitra
Updated on 25-Mar-2026 548 Views

Choosing the right IDE can significantly improve your Python development experience on Windows. Let's explore the most popular Python IDEs, each offering unique features for different development needs. PyCharm PyCharm is a professional IDE developed by JetBrains, offering comprehensive Python development tools ? Interactive Python Console: Built-in console for testing code snippets Web Framework Support: Django, Flask, and other frameworks integration Intelligent Code Refactoring: Automated code improvement suggestions Advanced Debugging: Visual debugger with breakpoints and variable inspection Version Control Integration: Git, ...

Read More

Interesting facts about strings in Python

Pavitra
Pavitra
Updated on 25-Mar-2026 309 Views

Python strings have several fascinating characteristics that make them unique among programming languages. Let's explore four key features: immutability, escape sequence detection, direct slicing, and indexed access. Immutability Python strings are immutable, meaning once created, their content cannot be modified. You can only read from strings, not change individual characters ? text = 'Tutorials Point' print(text) # This will raise an error try: text[0] = 't' except TypeError as e: print(f"Error: {e}") Tutorials Point Error: 'str' object does not support item assignment ...

Read More
Showing 7031–7040 of 61,298 articles
« Prev 1 702 703 704 705 706 6130 Next »
Advertisements