Concatenate audio files [Python 2.7]
Question: **Is** there any way to concatenate or merge two audio files into one?

**Requirements** : Must use built-in modules only [may use PyGame]

**Audio File format** : .wma OR .wav OR .mp3

I have looked at many questions now and found solutions that involved
downloading modules (which I do not prefer).

Any help would be welcome.


Answer: I make some research and found this.

    
    
    #import libraries
    from glob import iglob
    import shutil
    import os
    #create path variable
    PATH = r'C:\music'
    #create everything.mp3
    destination = open('everything.mp3', 'wb')
    for filename in iglob(os.path.join(PATH, '*.mp3')):
        shutil.copyfileobj(open(filename, 'rb'), destination)
    #make them all together with for
    destination.close()
    #close file
    

from [here](http://stackoverflow.com/questions/1001538/how-do-i-concatenate-
files-in-python).

