-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
53 lines (29 loc) · 1.17 KB
/
test.py
File metadata and controls
53 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- coding: UTF-8 -*-
from Tkinter import *
#header
app = Tk()
app.title = ("I konw your thinking")
app.geometry('300x450+500+100')
#function
def insertName_click():
pass
def getInfo_click():
pass
Label(app, text = '오늘은 무슨 곡을 들을까?', height=2).pack()
Button(app, text = '입력', width = 5, command = insertName_click).pack(side ='left')
Button(app, text = '입력', width = 5, command = getInfo_click).pack(side ='left')
app.mainloop()
'''
#labe = 환영 / 도움말 / 숫자입력 / 상황판/ 메모
Label(app, text='Baseballgame에 오신 것을 환영합니다.', height=2).pack()
Label(app, textvariable = message).pack(side = 'bottom')
#Label(app, textvariable = message1).pack(side='left')
#버튼생성
b1 = Button(app, text="도움말", width = 7, command = help_click).pack()
b2 = Button(app, text="Playball", width = 7, command = playball_click).pack()
b3 = Button(app, text='New Game', width = 45).pack(side = 'bottom')
#숫자입력 & 상황판 & memo
number_entry = Entry(app)
number_entry.pack()
view_text = Text(app, width = 25, height = 30).pack(side='left')
memo_text = Text(app, width = 25, height = 30).pack(side='right')'''