( ironcat | 2012. 09. 05., sze – 08:45 )

Meg kell erősíteni az alapokat, és nem fog összedőlni a világ. :-)

Egyébként

#!/usr/bin/python -u

, és akkor nem kell a flush():

-u     Force stdin, stdout and stderr to be totally unbuffered.  On systems where it matters, also put stdin, stdout and stderr in
              binary mode.  Note that there is internal buffering in xreadlines(), readlines() and file-object iterators ("for line in
              sys.stdin") which is not influenced by this option.  To work around this, you will want to use "sys.stdin.readline()" inside a
              "while 1:" loop.

-----
A kockás zakók és a mellészabások tekintetében kérdezze meg úri szabóját.