Python 2.0b1 is released!
Huaiyu Zhu
hzhu at users.sourceforge.net
Wed Sep 6 19:55:51 EDT 2000
On Tue, 05 Sep 2000 23:49:27 -0500, Guido van Rossum <guido at beopen.com> wrote:
>A unique event in all the history of Python: two releases on the same
>day! (At least in my timezone. :-)
>
>Python 2.0b1 is released. The BeOpen PythonLabs and our cast of
>SourceForge volunteers have been working on this version on which
>since May. Please go here to pick it up:
>
> http://www.pythonlabs.com/tech/python2.0/
>
There is a problem with new wave.py. On my system python is 2.0b1 and
/usr/bin/python is 1.5.2. Here's a test:
$ python music3.py
$ play test1.wav
sox: WAVE header not found
$ file test1.wav
test1.wav: RIFF (little-endian) data
$ /usr/bin/python music3.py
$ play test1.wav <--- plays ok.
$ file test1.wav
test1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono
44100 Hz
The relavent lines in music3.py are:
self.f = f = wave.open(filename,'w')
f.setnchannels(1)
f.setsampwidth(1)
f.setframerate(self.framerate)
f.setcomptype('NONE','Not Compressed')
Huaiyu
More information about the Python-list
mailing list