看板
[ Python ]
討論串[問題] tkinter command 傳參數問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
這裡我覺得用closure 有點難懂。. 你可以參考一下functools.. import functools. def myfun(i):. return i. commands = []. for i in range(3):. commands.append(functools.partia
(還有137個字)
首頁
上一頁
1
下一頁
尾頁