[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Sound to String



Yes! It works! Thanks so much guys! You all have been really helpful.

On Fri, Feb 29, 2008 at 3:58 PM, Douglas Bagnall <douglas@xxxxxxxxxxxxxxx> wrote:
Alistair Buxton wrote:

> On windows, you must open binary files as binary: f = open("sound.wav", "rb")
>
> If you don't do this, windows will truncate the file and give no
> error, though it will work on linux.
>


Aha!  Pay attention, Mike. This is your problem.

The attached script worksforme.

douglas



--
- PyMike