Advertisement
here2share

# sys_stdout_write_vs_print.py

Sep 5th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. # sys_stdout_write_vs_print.py
  2.  
  3. import sys
  4. for i in xrange(0,10): print '.',
  5. print
  6. for i in xrange(0,10): sys.stdout.write('.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement