mp3

fabriceS fabrice.sincere at wanadoo.fr
Thu Feb 28 06:03:06 EST 2013


Le 28/02/2013 01:07, alex23 a écrit :
> On Feb 28, 7:58 am, fabriceS <fabrice.sinc... at wanadoo.fr> wrote:
>> Is anybody know how to get the lenght (in seconds) of a mp3 file ?
>
> Try eyeD3: https://pypi.python.org/pypi/eyeD3
>
>      >>> import eyed3
>      >>> mp3 = eyed3.load(r'pygame\examples\data\house_lo.mp3')
>      >>> mp3.info.time_secs
>      7
>


   it work fine

greats



More information about the Python-list mailing list