ironpython_console.py 文件源码

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

项目:PyMal 作者: cysinfo 项目源码 文件源码
def __init__(self, newbuffer=0):
        '''Initialize the Console object.

        newbuffer=1 will allocate a new buffer so the old content will be restored
        on exit.
        '''
        self.serial=0
        self.attr = System.Console.ForegroundColor
        self.saveattr = winattr[str(System.Console.ForegroundColor).lower()]
        self.savebg=System.Console.BackgroundColor
        log('initial attr=%s' % self.attr)
        log_sock("%s"%self.saveattr)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号