Skip to content

Latest commit

ย 

History

History
43 lines (31 loc) ยท 1.43 KB

File metadata and controls

43 lines (31 loc) ยท 1.43 KB

๐Ÿš€ Python Task Solver

A super simple and efficient Python script that automatically solves mathematical expressions from text files. Just drop a file with expressions into the tasks here folder, and watch the script solve them for you in real-time. ๐ŸŽ‰

Key Features:

  • Fast and easy setup โ€” no extra libraries required! โšก
  • Supports multiple mathematical operations: +, -, *, /, ** (exponentiation), and more! ๐Ÿ”ข
  • Real-time file monitoring โ€” check your folder every second for new tasks. ๐Ÿ•
  • Handles both integer and decimal numbers. ๐Ÿ”„

Usage:

  1. Drop your .txt file containing math expressions into the tasks here folder.
  2. Run the script, and it will automatically solve each expression inside the file. ๐Ÿ“„
  3. Watch the results printed directly in your terminal/PowerShell. ๐Ÿ“Š

Example:

Create a file like example1.txt and add some math expressions: 2 * 3 5 + 1.5 10 / 2 7 ** 2

After running the script, the output will look like this: ๐Ÿ“„ Processing file: example1.txt [1] 2 * 3 = 6 [2] 5 + 1.5 = 6.5 [3] 10 / 2 = 5.0 [4] 7 ** 2 = 49

Installation:

  1. Clone or download the repository.
  2. Ensure you have Python 3.x installed.
  3. Run the script directly with python script.py.

Perfect for learning, experimenting with Python, or just automating your math tasks in a fun way! ๐ŸŽฎ


License:

This project is open-source and available under the MIT License.