Anyprint - Use any language's print statements in Python


Wish you could use console.log("yes"); in python? Well, now you can … please don’t though.

It sure violates

There should be one-- and preferably only one --obvious way to do it.


Meh. I prefer the logging module.

import logging
logger = logging.getLogger(__name__)

...'just so you know, your dog ate your hard drive')


Now that’s a sane choice … better than java style: System.out.printf("java stuff\n");