Python Practice & Projects
A curated collection of Python practice scripts and mini-projects focused on automation, utilities, and beginner-to-intermediate experimentation.
Repository:
mahidulhq/python
Primary Language: Python (100%)
Description: practice and projects
Table of Contents
- Overview
- Repository Structure
- Project Modules
- Getting Started
- Running a Project
- Environment & Dependencies
- Contributing
- Contact
Overview
This repository is a personal Python lab containing standalone scripts and small projects.
It is designed to:
- reinforce Python fundamentals,
- explore practical automation use cases,
- build reusable utility workflows,
- and provide a project-based learning path.
Projects are organized by topic/use case rather than as a single monolithic application.
Repository Structure
python/
βββ basics/
βββ browserAutomate/
βββ covidAlert/
βββ emailSender/
βββ getIP_fromHost/
βββ imageTOtxt/
βββ passwordGenerator/
βββ pyTalks2007/
βββ screenshotAPP_CLI/
βββ screenshotGUI/
βββ speedtest/
βββ .gitattributes
βββ .gitignore
βββ README.md
Project Modules
1. basics/
Foundational Python exercises and syntax practice.
2. browserAutomate/
Browser automation scripts (likely task automation such as navigation, form interaction, or repetitive web tasks).
3. covidAlert/
A utility/project related to COVID-19 data alerts or notifications.
4. emailSender/
Scripts for sending emails programmatically (SMTP-based workflows or templated mail tasks).
5. getIP_fromHost/
Hostname-to-IP lookup utility scripts for basic networking tasks.
6. imageTOtxt/
Image-to-text conversion project (potential OCR experimentation).
7. passwordGenerator/
Utility for generating secure/random passwords.
8. pyTalks2007/
Python talk/demo-related materials or experiments.
9. screenshotAPP_CLI/
Command-line screenshot capture utility.
10. screenshotGUI/
GUI-based screenshot tool.
11. speedtest/
Internet/network speed test scripts.
Getting Started
Prerequisites
- Python 3.9+ (recommended)
pippackage manager- Virtual environment tool (
venv)
Clone the Repository
git clone https://github.com/mahidulhq/python.git
cd python
Create and Activate Virtual Environment
Linux/macOS
python3 -m venv .venv
source .venv/bin/activate
Windows (PowerShell)
python -m venv .venv
.venv\Scripts\Activate.ps1
Running a Project
Because each folder is a standalone mini-project, run scripts from the relevant directory:
cd passwordGenerator
python main.py
If a folder uses a different entry file name, run that script directly (for example app.py, script.py, etc.).
Environment & Dependencies
This repository currently appears to be a multi-project workspace.
For best maintainability, consider one of these approaches:
- Single root
requirements.txt(if most dependencies are shared), or - Per-project
requirements.txtinside each module folder.
Install dependencies (if present):
pip install -r requirements.txt
or per module:
pip install -r <module>/requirements.txt
Contributing
Contributions, refactors, and documentation improvements are welcome.
- Fork the repository
- Create a feature branch:
git checkout -b feature/improve-docs - Commit your changes:
git commit -m "docs: improve module documentation" - Push and open a Pull Request
Contact
GitHub: @mahidulhq
Copyright Β© 2026 Mahidul Haque. This post is licensed under a CC BY-NC-ND 4.0 license. You may read, learn, and share links to this post for nonβcommercial, educational purposes, as long as you give appropriate attribution. You may not copy, reproduce, adapt, distribute, or use this work commercially without explicit permission.