install
pip install pydub
This code is designed to split an audio file into parts at sections of silence longer than 2 seconds and save each part into a separate file.