def info(message, *args, **kwargs):
    """
    write a message to stdout

    """
    if 'end' in kwargs:
        end = kwargs['end']
    else:
        end = '\n'

    if len(args) == 0:
        sys.stdout.write(message)
    else:
        sys.stdout.write(message % args)
    sys.stdout.write(end)
    sys.stdout.flush()
def info ( message , * args , ** kwargs ) : if 'end' in kwargs : end = kwargs [ 'end' ] else : end = '\n' if len ( args ) == 0 : sys . stdout . write ( message ) else : sys . stdout . write ( message % args ) sys . stdout . write ( end ) sys . stdout . flush ( )
write a message to stdout