Note To Self: Python's Apply

def fprintf(file,fmt, *args):
file.write(fmt % args)
def printf(fmt, *args):
apply(fprintf, (sys.stdout,fmt)+args)
def fprintf(file,fmt, *args):
file.write(fmt % args)
def printf(fmt, *args):
apply(fprintf, (sys.stdout,fmt)+args)