PyQt5
from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout
app = QApplication([])
window = QWidget()
layout = QVBoxLayout()
layout.addWidget(QPushButton('Top'))
layout.addWidget(QPushButton('Bottom'))
window.setLayout(layout)
window.show()
app.exec_()
Tkinter
import tkinter
window=tkinter.Tk()
window.title("AAAAAAAAAAA")
window.geometry("500x500")
window.resizable(False, False)
def button_click_test():
label.config(text="clicked")
label = tkinter.Label(window, text="hello world")
label.pack()
button = tkinter.Button(window, overrelief="solid", width=15, command=button_click_test, repeatdelay=1000, repeatinterval=100)
button.pack()
window.mainloop()
notepad plugin
npp_save
c:\python37\python.exe $(FULL_CURRENT_PATH)
'etc > 프로그래밍' 카테고리의 다른 글
이미지 크롤링을 연습하기 위해 beautifulsoup4를 설치했다. (0) | 2019.08.09 |
---|---|
한국어 형태소 분석을 위해 konlpy를 설치 했다. (0) | 2019.08.09 |
python browser control (0) | 2019.08.09 |
python 3.7 for window install (0) | 2019.08.09 |
Dialogflow for chatbot (0) | 2019.04.03 |
댓글