name_after = NewFileName.get("1.0", END)
name_of_ = FileToConvertName.get("1.0", END)
def main(name_of_):
video = Video_Audio_Convertation()
fil_e = video.convertation(name_of_)
return fil_e
Conv_Button.bind("<Button-1>", main) #при нажатии ЛКМ на кнопку вызывается функция Hello
File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not Event