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

Re: [pygame] Sound.get_length() problem



Arthur Elsenaar wrote:
I have a problem with Sound.get_length() returning an 'AttributeError: get_length'.

print sound.get_length() # <=== error occurs here
Arthur, you'll have to wait a little longer. The Sound.get_length() method is only available in the 1.6.2 prerelease. It will be available for all once 1.7 ever gets finished. It's a little overdue, but worth the wait!