On Sun, Jul 17, 2016 at 7:19 PM, <ldompel...@casema.nl> wrote: > wf = wave.open(“test.wav”, “rb”)
Watch your quotes. They want to be flat quotes, U+0022 "this sort", not any sort of typographical quote. Recommendation: Use a programmer's editor, not a word processor, for working with code. As well as not mangling it, it'll often show you problems before they happen. Also, recommendation: Use Python 3, not Python 2. Your code looks like it's intended for Py3, but your error says that you ran it under Py2. The solution may be as simple as running "python3 script.py" rather than "python script.py". ChrisA -- https://mail.python.org/mailman/listinfo/python-list