生命科学系の大学院生、いつしか休みに休んではいけないことを体で覚えてしまったので、意図的に休もうとすると罪悪感が生まれます。 ということで、昨日の続き、tkinterのボタンサイズをピクセルで指定します。 www.delftstack.com このサイトでのコード例が pixelVirtual = tk.PhotoImage(width=1, height=1) buttonExample1 = tk.Button(app, text="Increase", image=pixelVirtual, width=100, height=100, compound="c") ということなので、自分…