What is sys stdout flush ()?



What is sys stdout flush ()?..

Answer / Tarun Kumar Shukla

sys.stdout.flush() forces the Python interpreter to flush the standard output buffer, allowing data written to the console to be displayed immediately.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Is r similar to python?

1 Answers  


What mode is used for both writing and reading in binary format in file.?

1 Answers  


Write a program to find the max value from a list without using max()?

1 Answers  


Why is python good for machine learning?

1 Answers  


What is abnormal termination?

1 Answers  


Why is not all memory freed when Python exits?

1 Answers  


How do you define xrange in python 3?

1 Answers  


Explain assert in action?

1 Answers  


How will you reverse a list?

1 Answers  


What is arange function in python?

1 Answers  


What are Python's key features?

2 Answers  


How can you make modules in python?

1 Answers  


Categories