Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: changing and getting value through button
Post: RE: changing and getting value through button

Ok, thanks for help and quick answer **smile**
niski1996 GUI 2 1,834 Aug-24-2021, 04:44 PM
    Thread: changing and getting value through button
Post: changing and getting value through button

Hi I have two moduls named First: import tkinter as tk from Second import ManualNodes class CC: def __init__(self): root = tk.Tk() root.minsize(300, 300) tmp = ManualNo...
niski1996 GUI 2 1,834 Aug-24-2021, 02:32 PM
    Thread: pytest, parametrize, neasted list
Post: pytest, parametrize, neasted list

Hi, I tried to write little test:li_1=([[1, 3, 2], [3, 5, 6]],[[2,6]]) li_der_1=[[2,6]] @pytest.mark.parametrize("lite,expected",(li_1,li_der_1)) def test_der_li(lite,expected): assert der_li(lit...
niski1996 General Coding Help 0 1,573 Jul-21-2020, 10:36 PM
    Thread: Decoratros, class
Post: Decoratros, class

Hi, I've got code like that: def check_str_or_int(fun): def inside_check(arg, obj, *tags): if type(arg)==int: fun(arg, obj, *tags) elif type(arg)==str: fun(...
niski1996 General Coding Help 1 1,512 Apr-21-2020, 12:37 PM
    Thread: exec() in class, NameError
Post: RE: exec() in class, NameError

I tried to use similar way to pack buttons with command in function. I used closure instead.
niski1996 General Coding Help 6 3,980 Apr-20-2020, 07:14 PM
    Thread: exec() in class, NameError
Post: RE: exec() in class, NameError

I get it :D Thank you
niski1996 General Coding Help 6 3,980 Apr-02-2020, 12:53 PM
    Thread: exec() in class, NameError
Post: RE: exec() in class, NameError

So why it works with 'print(self.x_coord)'?
niski1996 General Coding Help 6 3,980 Apr-02-2020, 12:35 PM
    Thread: exec() in class, NameError
Post: exec() in class, NameError

Hi. I've got a problem with exec() function in my class. If code is like: def rysuj(self, frame, tuptus): for bu in tuptus: def foo(): print(self.x_coord) ...
niski1996 General Coding Help 6 3,980 Apr-02-2020, 12:10 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020