https://github.com/kragniz/anyprint
Use any* language's print statements in Python
https://github.com/kragniz/anyprint
Last synced: about 2 months ago
JSON representation
Use any* language's print statements in Python
- Host: GitHub
- URL: https://github.com/kragniz/anyprint
- Owner: kragniz
- License: wtfpl
- Created: 2017-07-18T18:23:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T12:16:11.000Z (over 3 years ago)
- Last Synced: 2025-03-30T03:05:06.380Z (2 months ago)
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 401
- Watchers: 7
- Forks: 22
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
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:
```python
import anyprint
```Which makes the following valid python:
```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")
putStrLn("Pure lazy Haskell!")
```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."