python标准输入

备忘

#! /usr/bin/python2.6 
import sys
for line in sys.stdin:
   print line,
原文地址:https://www.cnblogs.com/kaituorensheng/p/4038809.html