0
Lambda and partial is not working in gui tkinter button command can any body say the solution
6 Réponses
+ 1
It should work if it's this way:
1. To give non-argument functions:
Button(command = some_func)
2. To give argument accepting functions:
Button(command = lambda: some_func(some_val))
For partial, try this:
Button(command = lambda: __import__("functools").partial(some_func, val_1, val_2, ...)(some_val))
+ 4
Jan Markus Didn't the repair shop give you a replacement ball? What a disappointing customer service!
+ 3
Jan Markus nono... I bought one too.
There was a teabag in the package for exactly this scenario.
It is the fallback solution
(gemans and especially ostfriesen call it Teesatzlesen).
did you.... drink the tea??????
+ 3
Lisa
ohhh that data scientists!!!
Did u use pandas or R for that result?
+ 1
Oma Falk I'm very experienced in reading the tea leaves.
Give me a second, I'll have a look 🍵...
...
Okay, it says: Get another cup!
+ 1
MUTHURAJ.R
we are not laughing about you. SL is a funny community that jokes as joke can.