"FT" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Alan,

   This is what I wrote in python.

file4tts = open('test.wav', 'w', True)
av.AudioOutputStream = file4tts
av.Speak( "Hello World!", ASYNC)
file4tts.close

You need parentheses after close. Otherwise you are
evaluating the function not executing it. Without closing
the file thre is a possibility that the buffer is not being
flushed to disk.

But it could be a typo in which case I don't know what
the problem is! :-)

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to