-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path220218.py
39 lines (32 loc) · 935 Bytes
/
220218.py
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
import game.sound.echo
game.sound.echo.echo_test()
#Echo
from game.sound.echo import echo_test
echo_test()
#Echo
from game.sound import echo
echo.echo_test()
#Echo
#import game
#game.sound.echo.echo_test()
#Traceback (most recent call last):
# File "c:\doit\package.py", line 14, in <module>
# game.sound.echo.echo.test()
#AttributeError: module 'game.sound.echo' has no attribute 'echo'
#import game.sound.echo.echo_test()
# File "c:\doit\package.py", line 20
# import game.sound.echo.echo_test()
# ^
#SyntaxError: invalid syntax
from game.sound import *
echo.echo_test()
#Echo
#?? 에코 잘 나오는디? 업데이트 됐나?
from game.graphic import *
render.render_test()
#Traceback (most recent call last):
# File "c:\doit\package.py", line 32, in <module>
# render.render_test()
#NameError: name 'render' is not defined
#render은 nameError 발생
#__all__로 처리 가능