mic.bind("<ButtonRelease>" ,komut_gir) komutunu girince hata alıyorum
fonksiyon : def komut_gir():
voice_data = ses_kaydet()
response(voice_data)
Hata kodu :
return self.func(*args)
TypeError: komut_gir() takes 0 positional arguments but 1 was given
Exception in Tkinter callback
Traceback (most recent call last):
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1776.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py”, line 1883, in call
return self.func(*args)
TypeError: komut_gir() takes 0 positional arguments but 1 was given
içine herhangi bir değer girmedim neyi yanlış yapıyorum anlamadım