[Tutor] Can one use python to concatenate n media files?

Emile van Sebille emile at fenx.com
Mon Oct 12 10:21:57 EDT 2015


On 10/11/2015 9:15 PM, Fast Primes wrote:
>
> If so, could someone present an example?

<untested>
target = open(target,'wb')
for source in mediafilelist:
     target.write(open(source,'rb').read())

But you probably want something different anyway.

Emile





More information about the Tutor mailing list