* toaiff.py: import whatsound instead of sndhdr

* sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC
* ftplib.py: added close() (closes without sending QUIT command)
* aifc.py: documented close()
This commit is contained in:
Guido van Rossum 1993-06-01 13:21:04 +00:00
parent f3f753132a
commit 17ed1ae163
5 changed files with 551 additions and 6 deletions

View file

@ -9,7 +9,7 @@
import os
import tempfile
import pipes
import sndhdr
import whatsound
table = {}
@ -78,7 +78,7 @@ def _toaiff(filename, temps):
else:
fname = filename
try:
ftype = sndhdr.whathdr(fname)
ftype = whatsound.whathdr(fname)
if ftype:
ftype = ftype[0] # All we're interested in
except IOError: