SyntaxError: Non-ASCII character

Steven D'Aprano steve at pearwood.info
Sun Jul 17 10:50:19 EDT 2016


On Sun, 17 Jul 2016 11:35 pm, ldompeling at casema.nl wrote:

> I also get a lot off alsa errors on my screen so I don't no if that result
> in this error:
> 
> Traceback (most recent call last):
> File "sound.py", line 19, in <module>
> rate=RATE, input=TRUE, frames_per_buffer=CHUNK)
> NameError: name 'TRUE' is not defined

Try using input=True instead.



-- 
Steven
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list