Historical and Removed Modules

sndhdr

Removed from the standard library in Python 3.13; historical example targets Python 3.12. Guessed sound-file format and selected metadata from file headers. Use maintained audio metadata or decoding libraries; wave covers only supported WAV files and is not a general audio detector.

Formal Syntax & Structure

python syntaxpython
import sndhdr  # Historical only: removed in Python 3.13

Return Value

module (historical)

Historical module namespace, not a supported standard-library import on the Python 3.13 baseline.

Working Example

Example Snippetpython
# Historical example: Python 3.12; not executed.import sndhdrprint(callable(sndhdr.what))
Python Reference