Tamoghna Das

Tamoghna Das

24 Articles Published

Articles by Tamoghna Das

24 articles

Create a Pomodoro Using Python Tkinter

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 2K+ Views

The Pomodoro Technique is a time management method developed by Francesco Cirillo in the late 1980s. It uses 25-minute focused work sessions followed by short breaks to improve productivity. In this tutorial, we will create a functional Pomodoro timer using Python's Tkinter module. What is Pomodoro? Francesco Cirillo, a university student at the time, invented the Pomodoro Method in the late 1980s. Cirillo was having difficulty focusing on his academics and completing homework. He asked himself, feeling overwhelmed, to commit to only 10 minutes of dedicated study time. Inspired by the challenge, he discovered a tomato-shaped kitchen timer ...

Read More

Create a Python Script Notifying to take a break

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 352 Views

In today's digital world, we spend countless hours in front of screens, whether working on computers or scrolling through phones. Prolonged screen time and sitting can lead to various health issues including eye strain, musculoskeletal problems, and cardiovascular disease. This tutorial shows you how to create a Python script that sends desktop notifications reminding you to take regular breaks. Health Risks of Extended Screen Time Extended periods of screen time can cause several health problems ? Musculoskeletal Problems − Prolonged sitting causes neck, back, and shoulder pain due to poor posture and muscle strain. Eye Strain ...

Read More

Create a Pull request on GitHub using Pycharm

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 823 Views

Creating a pull request on GitHub using PyCharm involves both the IDE's built-in Git integration and Python's GitPython library for programmatic operations. This tutorial covers the complete workflow from forking a repository to merging your contributions. Prerequisites Before starting, ensure you have the following − Python installed on your system PyCharm IDE installed A GitHub account GitPython library installed Installing GitPython Install the GitPython library using pip − pip install GitPython GitPython allows you to interact with Git repositories programmatically, enabling operations like cloning, committing, and creating pull requests ...

Read More

Create XML Documents using Python

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 28K+ Views

XML documents are essential for data exchange between systems. Python provides the xml.etree.ElementTree library for creating and manipulating XML documents easily. Let's explore how to create both simple and complex XML structures using Python. Basic XML Document Creation Setting Up ElementTree First, import the ElementTree library and create a root element ? import xml.etree.ElementTree as ET # Create root element root = ET.Element('root') # Create child elements person = ET.SubElement(root, 'person') name = ET.SubElement(person, 'name') age = ET.SubElement(person, 'age') # Set text content name.text = 'John Doe' age.text = '30' # ...

Read More

Creating a Dataframe using CSV files

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 6K+ Views

A DataFrame is a powerful two-dimensional data structure in Python's pandas library, similar to a spreadsheet. CSV files are the most common way to store tabular data. This article demonstrates how to create DataFrames from CSV files and perform essential data operations. What are DataFrames and CSV Files? A DataFrame is a two-dimensional, size-mutable, tabular data structure with columns of potentially different types. It's similar to a spreadsheet or SQL table, commonly used for data analysis in Python. A CSV (Comma-Separated Values) file stores data in tabular format, with each row representing a record and columns separated ...

Read More

Creating a radar sweep animation using Pygame in Python

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 1K+ Views

Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. A radar sweep animation creates a rotating line that sweeps across a circular display, commonly used in games and simulations to represent detection systems. Components of a Radar Sweep Animation A basic radar sweep animation consists of the following components − Radar Circle − The circular boundary representing the radar's detection range Radar Sweep − A rotating line that sweeps around the center at 360 degrees Radar ...

Read More

Creating a Basic hardcoded ChatBot using Python -NLTK

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 2K+ Views

Chatbots are automated programs that simulate conversations with users using natural language. Python's NLTK (Natural Language Toolkit) library provides powerful tools for building chatbots that can understand and respond to user input through text processing and pattern matching. Core Concepts of Chatbot Creation Understanding these fundamental concepts is essential for building effective chatbots − Natural Language Processing (NLP) − Enables chatbots to understand human language through tokenization, part-of-speech tagging, and named entity recognition. Dialog Management − Manages conversation flow and maintains context across multiple interactions. Pattern Matching ...

Read More

Creating a Dataframe using Excel files

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 5K+ Views

A DataFrame is a two-dimensional tabular data structure in Python used for data analysis. One of the most common ways to create a DataFrame is by importing data from Excel files using the pandas library. Why DataFrames are Important for Data Analysis DataFrames are essential for data analysis because they provide ? Easy data manipulation − Two-dimensional table-like structure for organizing and manipulating complex data with missing values or different data types. Efficient processing − Support vectorized operations that perform computations on entire arrays rather than iterating row by row. Library integration − Seamless integration with ...

Read More

Creating a Camera Application using Pyqt5

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 3K+ Views

PyQt5 is one of the most popular GUI libraries available for Python, allowing developers to create desktop applications with ease. In this tutorial, we will walk through the process of creating a camera application using PyQt5. The camera application will allow users to view live camera feed, capture photos, and save them to disk. What are the advantages of PyQt5? PyQt5 is a Python binding for the popular cross-platform GUI toolkit, Qt. Here are some key advantages of PyQt5 − Cross-platform − PyQt5 applications can run on multiple platforms like Windows, Mac OS X, and Linux. ...

Read More

Creating a scrolling background in Pygame

Tamoghna Das
Tamoghna Das
Updated on 27-Mar-2026 2K+ Views

Pygame is a popular Python library used for building games and multimedia applications. One of the most important aspects of game development is the ability to create scrolling backgrounds. In this article, we will cover the essential steps for creating a scrolling background in Pygame with complete working examples. Prerequisites Before creating a scrolling background in Pygame, ensure you have ? Python installed (version 3.6 or higher) Pygame library: pip install pygame Basic understanding of Python programming Familiarity with Pygame basics Basic Scrolling Background Implementation Here's a complete working example of a horizontal ...

Read More
Showing 1–10 of 24 articles
« Prev 1 2 3 Next »
Advertisements