retard:
> Also IIRC Python has built-in print() command. What if I want to 
> redefine this to mean printing to a graphical quake like game console.

In Python3 there is a built-in print function, that is a reference to a 
callable object. So you just need to redefine it, like this:

def print(...):
  # my stuff

Or just:
def foo(): ...
print = foo

Bye,
bearophile

Reply via email to