Skip to content

MrDwarf7/python_ai_slop_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python AI Slop Calculator

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.

Features

  • Core Operations: Addition (+), subtraction (-), multiplication (*), division (/).
  • Fancy Shit: Percentage (%), reciprocal (1/x), square (), 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.

Installation

  1. Make sure you've got Python 3.x installed. Grab it from python.org if you’re slacking.
  2. Clone or download this dope repository:
git clone https://github.com/mrdwarf7/python_ai_slop_calculator.git
  1. Slide into the project directory:
cd python_ai_slop_calculator
  1. No extra bullshit needed—Tkinter comes with Python, so you’re good to go.

Usage

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 (, , etc.).
  • Hit = to see the magic happen.
  • Smash C to reset or to back up when you fuck up.

Example

  • Type 42, hit *, type 2, slam =. Boom: 84 stares back at you.
  • Try 16, hit . Result: 4, you math wizard.
  • Press π for a sloppy 3.14159... vibe.

Keyboard Shortcuts

  • Digits: 0-9 for numbers, . for decimals.
  • Operations: +, -, *, /.
  • Equals: Enter or Space.
  • Clear: C or Escape.
  • Backspace: Backspace.
  • Quit: Q (because fuck staying forever).

Code Structure

  • main.py: The whole damn thing—calculator logic, Tkinter GUI, and AI-crafted sloppiness.

Contributing

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.

License

Licensed under the MIT License. Check the LICENSE file if you give a shit.

Acknowledgments

  • 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!

Attributions

This README was also generated 100% by AI, except for this line.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages