摘要:
StringIO is usually used for buffer of string. which can have stdin,stdout,stderr redirected to a buffer.this moudle contains all of below methods.f=StringIO()#readyforwritingf=StringIO(buf)#readyforreadingf.close()#explicitlyreleaseresourcesheldflag=f.isatty()#alwaysfalsepos=f.tell()#getcurrentposi 阅读全文
posted @ 2014-01-06 23:26
Yu Zi
阅读(335)
评论(0)
推荐(0)
浙公网安备 33010602011771号