My o key fell off on my laptop; so I wrote a program that replaces two 0 keystrokes within 200 MS of each other as an o, two 0 keystrokes within 700 MS of each other as a 0 and ignore the rest; so I could use my laptop before I get around to replacing the keyboard.

Wow; I didn't know this would be so popular :p

As for how - Microsoft exposes a nice little API feature called Hooks.

Using that hook; I was able to write a "filter" that did what I needed it to do (hint: if you return 1 with your callback windows will not process the keystroke).

The reason I know about this actually is not because I was writing a keylogger - but because I wrote a program smiler to Synergy a while ago.

And yes. I did write another program that swapped alpha-numeric keys with a random alpha-numeric key and yes; it was really funny :D

🌐
Windmill
windmill.dev β€Ί blog β€Ί useful-python-scripts
10 Useful Python Scripts | Windmill
April 18, 2024 - In this blog post, we will explore ten Python scripts that stand out due to their versatility, user-friendliness, and their ability to decrease your daily workload. These scripts vary from simple to moderately challenging and are primarily focused on manipulating text and managing files.
🌐
GitHub
github.com β€Ί hastagAB β€Ί Awesome-Python-Scripts
GitHub - hastagAB/Awesome-Python-Scripts: A Curated list of Awesome Python Scripts that Automate Stuffs. Β· GitHub
A Curated list of Awesome Python Scripts that Automate Stuffs. - GitHub - hastagAB/Awesome-Python-Scripts: A Curated list of Awesome Python Scripts that Automate Stuffs.
Starred by 2.4K users
Forked by 778 users
Languages Β  Python 83.0% | HTML 11.5% | CSS 3.2% | JavaScript 1.9% | Jupyter Notebook 0.3% | Shell 0.1%
Discussions

scripting - What is the most useful script you've written for everyday life? - Stack Overflow
For example, to find a Java or Python program that flips an image you could do this: findstr "\.java \.py" dirlist.txt > narrowlist.txt findstr /i /r /f:narrowlist.txt "flip.*image" ... @Mark Which shows that even if you have to work with Windows, you can learn an awful lot of useful stuff from unix 2008-10-16T08:46:24.737Z+00:00 ... I made one of these scripts ... More on stackoverflow.com
🌐 stackoverflow.com
What Python program have you created to make your life easier?

Created a script to solve oblique triangles using either Law of Sines or Law of Cosines (I teach HS math), and I hate doing the calculations for the answer key.

I show it to my students to influence them to take up programming, at least to help them make their life easier.

More on reddit.com
🌐 r/learnpython
148
217
August 28, 2016
What are some of the best things you have automated using Python?
Every Monday I had to go to a website, download two PDFs, read them, and summarize them for management. Now I have a script that just runs at 6am every Monday, downloads the reports, extracts text, feeds them into OpenAI api, summarizes it. The api outputs in JSON, because my summary is always broken into a few parts (intro, performance, risks, rates, conclusion). Then I have a streamlit dashboard that’s connected to a JSON file of all the weekly reports. So management has the whole thing ready to view on their iPads at 8am. More on reddit.com
🌐 r/learnpython
146
158
May 21, 2024
Easy Python scripts to impress the business
Literally anything involving taking an Excel sheet as an input, performing some kind of operation on it with Pandas, and then outputting a different Excel sheet with that operation applied. It makes the Boomer management guys fall off their chairs every time. More on reddit.com
🌐 r/Python
98
156
March 11, 2023
🌐
GitHub
github.com β€Ί DhanushNehru β€Ί Python-Scripts
GitHub - wasmerio/Python-Scripts: A curated list of python scripts for automating your tasks Β· GitHub
A Python script to exchange songs and playlists between Spotify and Python. ... The pigeonhole sort algorithm to sort your arrays efficiently! ... A PNG TO JPG IMAGE CONVERTOR. ... A Python-based GUI Notepad with essential features like saving, opening, editing text files, basic formatting, and a simple user interface for quick note-taking.
Starred by 1.6K users
Forked by 505 users
Languages Β  Python 75.1% | CSS 14.2% | Jupyter Notebook 8.4% | HTML 2.3%
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί python β€Ί top-python-scripts-for-developers-to-implement
Top 12 Python Scripts For Developers to Implement - GeeksforGeeks
July 23, 2025 - The below script fetches the current news from NewsAPI. Implementation can be modified depending on the use case. ... # $ pip install newsapi-python from newsapi import NewsApiClient newsapi = NewsApiClient(api_key='API_KEY') # /v2/top-headlines top_headlines = newsapi.get_top_headlines(language='en', country='in') for article in top_headlines["articles"]: title = article["title"] print(f"Title: {title}\n")
🌐
ActiveState
activestate.com β€Ί home β€Ί blog β€Ί top 10 tasks to automate with python
Top 10 Tasks to Automate with Python - ActiveState
June 25, 2020 - Despite the many different use cases for programming in Python, there are several packages that are especially useful above all, such as Pip, Python-dateutil, Requests, Docutils, Setuptools and PyTest.
Top answer
1 of 16
117

My o key fell off on my laptop; so I wrote a program that replaces two 0 keystrokes within 200 MS of each other as an o, two 0 keystrokes within 700 MS of each other as a 0 and ignore the rest; so I could use my laptop before I get around to replacing the keyboard.

Wow; I didn't know this would be so popular :p

As for how - Microsoft exposes a nice little API feature called Hooks.

Using that hook; I was able to write a "filter" that did what I needed it to do (hint: if you return 1 with your callback windows will not process the keystroke).

The reason I know about this actually is not because I was writing a keylogger - but because I wrote a program smiler to Synergy a while ago.

And yes. I did write another program that swapped alpha-numeric keys with a random alpha-numeric key and yes; it was really funny :D

2 of 16
114

I don't have the code any more, but possibly the most useful script I wrote was, believe it or not, in VBA. I had an annoying colleague who had such a short fuse that I referred to him as Cherry Bomb. He would often get mad when customers would call and then stand up and start ranting at me over the cubicle wall, killing my productivity and morale.

I always had Microsoft Excel open. When he would do this, I would alt-tab to Excel and there, on the toolbar, was a new icon with an image of a cherry bomb. I would discreetly click that ... and nothing would happen.

However, shortly after that I would get a phone call and would say something like "yeah, yeah, that sounds bad. I had better take a look." And then I would get up, apologize to the Cherry Bomb and walk away.

What happened is that we used NetWare and it had a primitive messaging system built in. When I clicked the button, a small VBA script would send out a NetWare message to my friends, telling them that the Cherry Bomb was at it again and would they please call me. He never figured it out :)

🌐
DevGenius
blog.devgenius.io β€Ί 10-useful-python-scripts-for-everyday-tasks-b0d74f2ea62c
10 Useful Python Scripts for Everyday Tasks | by Esteban Pierotti | Dev Genius
September 22, 2025 - Python is a versatile programming language known for its simplicity and readability. It’s widely used in various fields, from web development to data analysis. In this article, we’ll explore ten Python scripts that can make your life easier by automating common tasks.
Find elsewhere
🌐
Quora
quora.com β€Ί What-are-the-best-Python-scripts-youve-ever-written
What are the best Python scripts you've ever written? - Quora
Β· ... [code]from turtle import * from random import randint speed(10) bgcolor('black') x=1 while x< 400: w= randint(0,255) y= randint(0,255) p= randint(0,255) colormode(255) pencolor(w,y,p) fd(50 + ...
🌐
Alma Better
almabetter.com β€Ί bytes β€Ί articles β€Ί python-scripts-for-automation
Top 10 Python Scripts for Automation to Boost Productivity
February 28, 2024 - Discover 10 powerful Python automation scripts to streamline tasks, from image optimization to API handling. Embrace your efficiency and reclaim your time!
🌐
Djamware
djamware.com β€Ί post β€Ί 68f1a14dc9786421be5af79a β€Ί 10-useful-python-scripts-to-automate-your-daily-tasks
10 Useful Python Scripts to Automate Your Daily Tasks
October 16, 2025 - In this tutorial, we’ll explore 10 practical Python scripts that you can use to automate your daily tasks. Each example comes with clear explanations and ready-to-use code so you can follow along and adapt them to your workflow.
🌐
Codester
codester.com β€Ί blog β€Ί the-10-best-free-python-scripts
The 10 Best Free Python Scripts - Codester Blog | Codester
July 15, 2024 - These scripts are perfect for beginners ... with Python. Example: Automate the download of files from a list of URLs. The script reads a list of URLs from a text file and downloads each file to a specified directory. ... Author: Wes McKinney Description: Pandas is a powerful library for data manipulation and analysis. This script provides examples of how to use Pandas for ...
🌐
Favtutor
favtutor.com β€Ί articles β€Ί python-automation-scripts
Top 10 Python Automation Scripts That You Should Try Once
June 29, 2024 - We curated a list of 10 Python Automation Scripts that will help developer perform automation tasks with this programming language.
🌐
Medium
medium.com β€Ί pythoneers β€Ί 10-really-helpful-automation-scripts-you-need-to-try-using-python-7dda9408fa74
10 Really Helpful Automation Scripts You Need To Try Using Python | by Abhay Parashar | The Pythoneers | Medium
April 14, 2024 - AUTOMATION SCRIPTS YOU NEED TO TRY β€” PART 1 10 Really Helpful Automation Scripts You Need To Try Using Python Python’s Second Name is Automation Every day after waking up there are plenty of …
🌐
Quora
quora.com β€Ί What-are-some-useful-Python-scripts
What are some useful Python scripts? - Quora
Answer (1 of 29): Some might say it is funny or cool, but I would call it one of the most helpful and interesting scripts I have ever written. First, I will have to give you some context here. I come from India, and some people here take it upon themselves to decide what other people should do w...
🌐
Codester
codester.com β€Ί home β€Ί scripts & code β€Ί python
70+ Python Scripts & Code | Codester
Browse production-ready Python scripts and source code for automation, web scraping, bots, APIs and full-stack apps. Explore Django, Flask, FastAPI and Streamlit projects with Python 3.x, clean architecture, and clear docs. Customize quickly, integrate payments/email, deploy with confidence, ...
🌐
Java Code Geeks
javacodegeeks.com β€Ί home β€Ί web development β€Ί python
Explore These 20 Cool Python Scripts for Fun and Productivity! - Java Code Geeks
February 23, 2025 - Flask: Web framework for Python. Flask_SQLAlchemy: Extension for integrating SQLAlchemy with Flask. User(db.Model): Data model representing a user in the database. ... This script sets up a simple Flask web application with SQLite database ...
🌐
Quora
quora.com β€Ί What-are-some-common-uses-for-Python-scripts
What are some common uses for Python scripts? - Quora
I have written many scripting meanwhile learning Python Scripting which eases the cumbersome tasks and can prove beneficial for lazy people like me. I will keep posting my scripts timely. Do follow to stay updated. Here is a script which I posted recently on my blog. β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€” Β· This script test your typing speed. This is a very beginner friendly script that uses just time module to record start and end time.
🌐
Medium
medium.com β€Ί pythoneers β€Ί 17-mindblowing-python-automation-scripts-i-use-everyday-523fb1eb9284
17 Mindblowing Python Automation Scripts I Use Everyday | by Abhay Parashar | The Pythoneers | Medium
November 19, 2024 - Automation scripts you need to try (Collection) 17 Mindblowing Python Automation Scripts I Use Everyday Scripts That Increased My Productivity and Performance I’ve been using Python for almost 5 …