Posts

Showing posts from January, 2025

OpenAi 💀💀

Image
O p e n A I   JOKES 💀💀☠️

PY HURTS MY ARM?

  New Python Code Editor PY-HURTS-MY-ARM  sorry but the folder is too big . 85MBs I name it Py-Hurts-My-Arm becuase i dont like pycharm it is too complex. i want to make apps that haven't complexity easy to use the gui not too hard for learning so How to download: go to  here select the version go to assets and select pyhurtsmyarm.zip  then after download extract all  right click on init.ps1 and click run with powershell now it is done!!!!!!!!   NOTE: it is a light weight python code editor no multi file editing no errors detecting no auto suggestion no auto-indent DOCUMENTATION:       docs          

Python try Statments

How to Use try , except , and finally in Python (With a Little Humor) So, you’ve written some Python code and suddenly... BAM! An error crashes your program. Don’t panic! This is where try , except , and finally come in to save the day. 1. The try Block – "I’ll Try, but I Can’t Promise Anything!" The try block is where you place the code that might break (but you hope it doesn’t). You’re saying, “Hey Python, I’ll give this a try, but I’m not sure it’ll work!” try: # I'm trying to divide by zero. What could go wrong? 😅 result = 10 / 0 print(result) 2. The except Block – "Okay, That Didn’t Work, But Let’s Handle It!" When things go wrong in the try block, Python will raise an error. This is where the except block steps in like a superhero. except ZeroDivisionError: print("Oops! You can't divide by zero, silly!") 3. The finally Block – "No Matter What, I’ll Be There!" Now, even if something breaks, the...

MenuBars in py

 MenuBars In Python Example: 

Tkcode Magic

TKCODE Tutorial Type in your terminal: Example:

New Year Quiz- 2025

Loading…