If you run the program from the command line, add a newline (\n) to the end of your print statements. STDOUT uses line buffering when connected to an active terminal.
In reply to Re: Flushing the print buffers.
by chromatic
in thread Flushing the print buffers.
by kansaschuck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |