Initial commit

This commit is contained in:
BarsTiger
2022-05-12 19:52:21 +03:00
committed by hhh
commit aed6db5f6d
6 changed files with 1247 additions and 0 deletions

17
Кнопочки.py Normal file
View File

@@ -0,0 +1,17 @@
from tkinter import *
def bAaction():
print('Спасибо!')
def bBaction():
print('Урмяяяяяуу! Мне больно')
window = Tk()
buttonA = Button(window, text='Нажми!', command=bAaction)
buttonB = Button(window, text='Не нажимай!', command=bBaction)
buttonA.pack()
buttonB.pack()
window.mainloop()