Python class playtime