Skip to content

JohnBish/python-braces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

python-braces

Braces in python!
picture

Usage:

def hello_world() {
	print("Hello World!")
}

hello_world()

Or, if you want to destroy everything the python developers have built and make everyone hate you:

def hello_world(){print("Hello World!")};hello_world()

But why stop there?

class Hello{def hello_world(self){print("Hello World!")}};Hello().hello_world()

Execution:

Windows:

python python-braces.py target-file.py

Linux:

python3 python-braces.py target-file.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages