Problem with redirection, buffering and chaining scripts.

Thaddeus L. Olczyk olczyk at interaccess.com
Thu Jun 29 13:21:12 EDT 2000


On Thu, 29 Jun 2000 10:17:48 GMT, Andre van Straaten
<andre at UltraShell.Net> wrote:

>I never called a Python script from another Python script, but probably
>it might be helpful to flush the buffer with file.close().
>This is even necessary if you read and write to the same file within the
>same script.
>The buffers are flushed always when the script terminates, but .close()
>is sometimes necessary explicitely.
>
>-avs
And since the buffers already get flushed when the script closes, how
does this help?



More information about the Python-list mailing list