Á¤¼ºÈÆ
    ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹)
6-1.txt [2 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
import turtle, winsound, time
 
t=turtle.Turtle()
s=turtle.Screen()
s.addshape('play_button.gif')
 
songs = ['Komorebi.wav''New_Land.wav''St_Francis.wav']
flags = winsound.SND_FILENAME| winsound.SND_ASYNC | winsound.SND_NODEFAULT
 
t.penup()
t.goto(-250,150)
t.shape('play_button.gif')
t.write('Komorebi¸¦ Ç÷¹ÀÌÇÏ·Á¸é K \nNew_Land¸¦ Ç÷¹ÀÌÇÏ·Á¸é N \nSt_Francis¸¦ Ç÷¹ÀÌÇÏ·Á¸é S¸¦ ÀԷ Çϼ¼¿ä.', font=('¹ÙÅÁ'20'bold'))
t.goto(0,0)
t.goto(-50,0)
 
def play_K() :
    winsound.PlaySound(songs[0], flags)
    t.goto(-50,0)
    t.setheading(0)
    while True:
        t.forward(100)
        t.left(180)
    
def play_N() :
    winsound.PlaySound(songs[1], flags)
    t.goto(-50,0)   
    t.setheading(0)    
    while True:
        t.forward(100)
        t.left(120)
        
def play_S() :
    winsound.PlaySound(songs[2], flags)
    t.goto(-50,0)  
    t.setheading(0)    
    while True:
        t.forward(100)
        t.left(90)
 
s.onkeypress(play_K, "K")
s.onkeypress(play_N, "N")
s.onkeypress(play_S, "S")
 
s.listen()
cs

  µî·ÏÀÏ : 2022-09-03 [17:11] Á¶È¸ : 197 ´Ù¿î : 31   
 
¡â ÀÌÀü±Û(½Ç½À 6) 6Àå ÅÍƲ ±×·¡ÇÈ°ú Å°º¸µå À̺¥Æ® <½Ç½À>
¡ä ´ÙÀ½±Û°¡À§, ¹ÙÀ§, º¸ À̹ÌÁö
ÄÚµù ù°ÉÀ½(ºñ°ø´ë) ½Ç½À°Ô½ÃÆÇ
¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
52 ¨Õ(½Ç½À 9) 9Àå tkinter ´Ù¾çÇÑ À§Á¬ <½Ç½À> ½Ç½À Á¤¼ºÈÆ 108 08-19
51 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 79 12-10
50 ¨Õ(½Ç½À 8) 8Àå tkinter À̺¥Æ® <½Ç½À> ½Ç½À Á¤¼ºÈÆ 143 08-19
49 ¦¦❶ ¨è ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 105 09-03
48 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 78 09-03
47 ¦¦❶ Å°º¸µå <c>¸¦ ´©¸£¸é °í¾çÀ̸¦ º¸¿©ÁÖ°í <d>¸¦ ´©¸£¸é °³¸¦ º¸¿©ÁÖ´Â ... °è¼Ó Á¤¼ºÈÆ 119 12-02
46 ¨Õ(½Ç½À 7) 7Àå tkinter ±âÃÊ <½Ç½À> ½Ç½À Á¤¼ºÈÆ 302 08-19
45 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 160 09-03
44    ¦¦❷ ·Î±×ÀΠó¸®ÇÏ´Â ÇÁ·Î±×·¥ °è¼Ó Á¤¼ºÈÆ 148 11-25
43 ¨Õ(½Ç½À 6) 6Àå ÅÍƲ ±×·¡ÇÈ°ú Å°º¸µå À̺¥Æ® <½Ç½À> ½Ç½À Á¤¼ºÈÆ 308 08-19
42 ¦¦❶ ¨ç ½Ç½À ÇÁ·Î±×·¥ ¿¹) °è¼Ó Á¤¼ºÈÆ 197 09-03
41 ¦¦❶ ¨Õ°¡À§, ¹ÙÀ§, º¸ À̹ÌÁö °è¼Ó Á¤¼ºÈÆ 345 11-11
40    ¦¦❷ »ç¿ëÀÚ°¡ IDLE ¿¡¼­ °¡À§/¹ÙÀ§/º¸¸¦ ¼±ÅÃÇÏ°Ô ÇÏ´Â ÇÁ·Î±×·¥ °è¼Ó Á¤¼ºÈÆ 200 11-18
39       ¦¦❸ »ç¿ëÀÚ°¡ ÅÍƲ ±×·¡ÇÈ¿¡¼­ °¡À§/¹ÙÀ§/º¸¸¦ ¼±ÅÃÇÏ°Ô ÇÏ´Â ÇÁ·Î±×·¥ °è¼Ó Á¤¼ºÈÆ 215 11-18
38 ¨Õ(½Ç½À 5) 5Àå ÅÍƲ¿¡¼­ ¸¶¿ì½º À̺¥Æ® ó¸®Çϱâ <½Ç½À> ½Ç½À Á¤¼ºÈÆ 302 08-19

[1][2][3][4]