A simple and effective Python command-line application that measures your typing speed and accuracy. Whether you're practicing for a job test or just want to improve your typing skills, this project gives instant feedback in a clean interface.
- Random sentence prompt from a curated list
- Real-time speed calculation in Words Per Minute (WPM)
- Accuracy tracking based on word-by-word comparison
- Option to retry with a different prompt
- Graceful handling of keyboard interruptions
- Python functions
- String manipulation and comparison
time
module for tracking performance- Input/output handling with clean formatting
- Basic error handling
- Python 3.6 or higher
- No external libraries needed
- Clone this repository :
git clone https://github.com/YourUsername/typing-speed-tester.git ---
- Navigate to the folder :
cd typing-speed-tester
- Run the application :
python main.py
-----Welcome to the Python Typing Speed Tester!-----
(Press ENTER to begin the test...)
Type the following sentence:
Artificial Intelligence is transforming the world.
(Press ENTER when you're ready to start typing...)
Start Typing : Artifical Intelligence is transformng the word.
----- Test Results -----
Time Taken: 12.37 seconds
Words Per Minute (WPM): 38.76
Accuracy: 60.0%
Thanks for using the Typing Speed Tester. Keep practicing!
Sandesh Salokhe
GitHub: @Sandesh-008
This project is open source and available under the MIT License.
- Works across all major platforms (Windows, macOS, Linux)
- You can customize the sentence list in the
Sentences[]
variable - For color output, you can reintroduce ANSI escape codes as needed