Skip to content

Instantly share code, notes, and snippets.

@correl
Last active October 22, 2019 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save correl/0f24b07e13e9d06facb2b7624e2a00f2 to your computer and use it in GitHub Desktop.
Save correl/0f24b07e13e9d06facb2b7624e2a00f2 to your computer and use it in GitHub Desktop.
from __future__ import print_function
from owotrans import owo
try:
import __builtin__
except ImportError:
# Python 3
import builtins as __builtin__
print_builtin = __builtin__.print
def owoprint(value="", *args, **kwargs):
return print_builtin(owo(value), *args, **kwargs)
__builtin__.print = owoprint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment