0
Long story short, made working code, tried to put it into tkinter and got stuck. Both codes are here. need help
First, working code: https://code.sololearn.com/cX1g1YtK2tdw Second, tkinter code: https://code.sololearn.com/ccjMQqD328qS ( total chaos, wont launch in online compilers) What i wanted to do, is to choose 2 files via buttons, get file path and basically do the stuff from first code.. Output with Labels I tried again and got a bit closer ( maybe not, still not working ) https://code.sololearn.com/cJB5UC074Xrw
6 Respuestas
+ 1
#stillNotWorking
If you can access any external IDE apart from Sololearn then use it.
I don't think Sololearn code playground supports tkinter.
Check this out too:
https://www.sololearn.com/Discuss/1917812/?ref=app
+ 1
I figured it out , thx for help FF9900
0
Wait what? Its not supposed to work.
What's inside your files/string?
Have you changed something in my code?
0
Turn out it works only if texts are 100% same. If you try to make it with slightly different one, you get tons of errors.
Exception in Tkinter callback
Traceback (most recent call last):
", line 1892, in __call__
return self.func(*args)
, line 63, in choose1
labtext=str(analize(text1,text2))
, line 34, in analize
output.append(i,end=' ')
TypeError: append() takes no keyword arguments