Python Calculator requires Python 3.12 or later. The graphical interface relies onDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/WorkTeam01/team-practice/llms.txt
Use this file to discover all available pages before exploring further.
tkinter, which ships as part of the Python standard library on all major platforms — no additional system package is needed for most installations. The only third-party dependency is pytest (version 7.0.0 or higher), used exclusively for the test suite.
Installation steps
(Optional) Create and activate a virtual environment
Using a virtual environment keeps the project’s dependencies isolated from your global Python installation. This step is recommended but not strictly required.
- macOS / Linux
- Windows
Install dependencies
Install the project’s dependencies from
requirements.txt. The only package listed is pytest:The
requirements.txt file contains a single entry — pytest>=7.0.0. All other functionality (tkinter for the GUI, re for expression validation, math internals) is part of the Python standard library and requires no separate installation.tkinter is included in the standard Python distribution on Windows and macOS. On some Linux distributions it may be provided as a separate system package. If you see an ImportError: No module named 'tkinter' when launching the GUI, install it via your package manager — for example, sudo apt install python3-tk on Debian/Ubuntu.Verifying the installation
Once the dependencies are installed, confirm everything is working by running the full test suite:PASSED:
