def readAll():
"""
Read and return as a string all remaining lines of standard input.
"""
global _buffer
s = _buffer
_buffer = ''
for line in sys.stdin:
if sys.hexversion < 0x03000000:
line = line.decode('utf-8')
s += line
return s
#=======================================================================
# For Testing
#=======================================================================
评论列表
文章目录