stdout and stderr : input « Buildin Function « Python Tutorial






for i in range(3):                        
    print 'Dive in' 

import sys 
for i in range(3): 
    sys.stdout.write('Dive in')                

for i in range(3): 
    sys.stderr.write('Dive in')








13.25.input
13.25.1.Getting Input from the User
13.25.2.stdout and stderr