Skip to content
Advertisement

python export() got multiple values for argument ‘format’

i have a wav file and i want to split according to the data i have in a list called speech and to export the the splitted wav files in folders according to the label variable

JavaScript

but i keep getting the error export() got multiple values for argument ‘format’

Advertisement

Answer

The function definition of export is as follows:

JavaScript

I think what you’re trying to do with your first parameter is a string concatenation, e.g. change it to a f-string:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement