stdio.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:MIT-CS-lectures 作者: William-Python-King 项目源码 文件源码
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
#=======================================================================
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号