def writef(fmt, *args):
"""
Write each element of args to standard output. Use the format
specified by string fmt.
"""
x = fmt % args
if sys.hexversion < 0x03000000:
x = unicode(x)
x = x.encode('utf-8')
sys.stdout.write(x)
sys.stdout.flush()
#=======================================================================
# Reading functions
#=======================================================================
评论列表
文章目录