Play MP3s from Windows

Tim Harig usernet at
Fri Jun 19 20:07:41 EDT 2009

On 2009-06-19, Arlie <arlie.c at> wrote:
> print 'Duree du fichier : ',buf,' millisecondes'

You can obviously make sure that 'buf' can be accessed as a string.

> time.sleep(int(buf)/1000)

The error seems to be having issues converting buf to an int.  Could you
possibly convert it to a string before converting it to an int?


More information about the Python-list mailing list