Ask coding questions

← Back to all posts
What are some Fun Pranks you can do with Python?
LUCASCARPENTER (0)

Hi, I love playing with python. What are some pranks or fun things I can do with python?

Comments
hotnewtop
SixBeeps (5234)

Set up a cron job to run a Python script every few minutes that does nothing but type the letter 'Q' a random number of times consecutively.

LUCASCARPENTER (0)

@SixBeeps Thats sounds so much fun!

BrightSideSide (4)

hi i did make this program in HTML well I can be made in python to https://progaming.monster/invite.php?id=DJAG6I.html

19ecal (233)
import webbrowser
webbrowser.open_new_tab("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
LUCASCARPENTER (0)

@19ecal Ive seen this before! so much fun to do! thank you!

Coder100 (18228)

haha hack go brr

import time

print("hacking")
time.sleep(1)
print("10%")
time.sleep(1)
print("90%")
time.sleep(2)
print("100%")
time.sleep(0.2)
print("I'm in IP: 127.0.0.1")

hehe