< Scratch Wiki:April Fools

Rage icon.png This is an April Fools' Day version of Python. Please don't take it seriously. You can find the original here.
Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (July 2017)

A python is a giant snake which likes to swallow up innocent animals, including Scratch Cat and his friends.

They're on a run now.

The giant python likes reading text off your screen and doing what it says. Hey! Wait. What if it reads this page?


Stopping Python

class Python(Snake):
    # This is you python guy.
    def __init__(self):
        try:
            self.stopEatingPeople()
            self.slitherOffACliffAndGETREKT()
            if alive:
                self.slither.io()
                self.mass(0)
            # That should do it! Unless...
        except (KeyboardInterrupt,SyntaxError):
            raise RuntimeError('Oopsies! Mr. Snake died mid-program! :)')
            pass
    def __str__(self):
        return __init__(self)

If you can't wait for the giant python to read this page, take this additional code:

me = Python("Python")
exec(me)

Name it main.py, copy it onto a USB stick and inject it into the python or just let it eat it.
It should suffer a SyntaxError and die mid-program! :)