Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 PyMad/PyAudio 播放 mp3 文件。
当我打开一个包含非拉丁字符的文件时,Python 会引发以下错误:
IOError: Object must have a read method
在线上:
self.mf = mad.MadFile(filename)
如果文件名包含非拉丁字符,通常会发生这种情况。