def setWeightMenu(self,vb):
        vb.getVoices()
        for v in sorted(vb.voices):
            try:
                response = raw_input('Set weight for '+v+'\n')
            except __HOLE__:
                response = input('Set weight for '+v+'\n')
            if response.isdigit():
                response = int(response)
                vb.voiceWeights[v] = response
                print(v + ' weight set to ' + str(response))
            else:
                print("Please type a number!")
        vb.getVoices()
dataset/ETHPy150Open jbrew/pt-voicebox/writer.py/Writer.setWeightMenu