Re: [Rhythmbox-devel] convert music time to human readable value

Am Mittwoch, den 26.05.2010, 19:12 +0330 schrieb ali va:
> hi
> I am working on a little plugin for my self
> now I want to get the music time using props
> and it return me a long numbered string
> How can i change it to a human readable value?
> i use python

Try this

import time
time_str = time.ctime ( time_int )

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]