Use any language's print statements in Python
Python
Switch branches/tags
Nothing to show
Latest commit 1745476 Oct 6, 2017 @kragniz kragniz Merge pull request #23 from janpipek/patch-1
More ruby-like puts and p
Permalink
Failed to load latest commit information.
COPYING
README.md Add some more examples Jul 19, 2017
anyprint.py
setup.py Add setup.py Jul 18, 2017

README.md

Anyprint

Do you commonly forget what language you're writing while typing contrived print statements? This is the module for you!

Usage

Simply import this module:

import anyprint

Which makes the following valid python:

printf("printf %d\n", 10);

fmt.Println("hello")

cout << "Hello, C++!" << endl;

Print["Hello from Mathematica!"]

console.log("yes");

io.write("lua land")

System.out.printf("java stuff\n");

System.Console.WriteLine("C# looks awkard");

Ada.Text_IO.Put_Line("Ada is cool")

IO.puts("elixir")

Anyprint supports a growing number of languages, and welcomes more!

Testimonials

Anyprint has many glowing reviews from its many satisfied users:

"omg pls"

"what is wrong with you"

"That's stupid and not useful."

"Please add my testimonial: "very accurate testimonials"."

"kragniz, please stop writing questionable python metamodules :v"

"can I have a testimonial?"

"pls add my testimonial: no memes guaranteed."

"The Testimonials section cracked me up."