A badass calculator app built purely with AI, rocking a slick GUI powered by Tkinter. This ain't your grandma's command-line calculator—it's got buttons, a window, and some sloppy-ass charm. Handles basic arithmetic and a few extra tricks, all with a vibe that's equal parts chaotic and functional.
- Core Operations: Addition (
+
), subtraction (-
), multiplication (*
), division (/
). - Fancy Shit: Percentage (
%
), reciprocal (1/x
), square (x²
), square root (√
), and π (because why the fuck not?). - Extras: Negate (±), backspace (⌫), and clear (C) for when you fuck up.
- GUI Vibes: Built with Tkinter, featuring a clean display and colorful buttons.
- Keyboard Shortcuts: Smash digits, operations, and more right from your keyboard.
- Error Handling: Catches division by zero and other dumbass mistakes with sloppy error messages.
- Make sure you've got Python 3.x installed. Grab it from python.org if you’re slacking.
- Clone or download this dope repository:
git clone https://github.com/mrdwarf7/python_ai_slop_calculator.git
- Slide into the project directory:
cd python_ai_slop_calculator
- No extra bullshit needed—Tkinter comes with Python, so you’re good to go.
Fire it up from the command line:
python main.py
or use uv
if you're not a geriatric
uv run main.py
A window pops up with a calculator layout. Click buttons or use your keyboard to:
- Punch in numbers and decimals.
- Pick operations like
+
,-
,*
,/
, or the fancy ones (√
,x²
, etc.). - Hit
=
to see the magic happen. - Smash
C
to reset or⌫
to back up when you fuck up.
- Type
42
, hit*
, type2
, slam=
. Boom:84
stares back at you. - Try
16
, hit√
. Result:4
, you math wizard. - Press
π
for a sloppy 3.14159... vibe.
- Digits:
0-9
for numbers,.
for decimals. - Operations:
+
,-
,*
,/
. - Equals:
Enter
orSpace
. - Clear:
C
orEscape
. - Backspace:
Backspace
. - Quit:
Q
(because fuck staying forever).
main.py
: The whole damn thing—calculator logic, Tkinter GUI, and AI-crafted sloppiness.
This shit was 100% AI-generated, but you’re welcome to fork it and fuck with it. Add some wild features or break it entirely—pull requests are cool if you’ve got the balls.
Licensed under the MIT License. Check the LICENSE file if you give a shit.
- Slammed together by an xAI assistant with zero human meddling & Claude AI Slop generator.
- Built for sloppy geniuses who need a calculator with attitude.
Get calculating, you magnificent bastard!
This README was also generated 100% by AI, except for this line.