To note this problem occurs when debugging script in IDLE editor. When I double click on my_script.py, all outputs will be printed in one console.
-- ___ oo // \\ (_,\/ \_/ \ Xu, Qian \ \_/_\_/> stanleyxu2005 /_/ \_\ -- http://mail.python.org/mailman/listinfo/python-list