Exemplo n.º 1
0
def main():
    print("insa_func 모듈입니다")
    print("__name__:", __name__)  #__main__으로 출력
    hello_func.hello()
    greeting_func.greeting()  #greeting_func로 출력

    main()
Exemplo n.º 2
0
def main():
    print("insa_func 모듈입니다.")
    print("__name__ :", __name__)
    hello_func.hello()
    greeting_func.greeting()
Exemplo n.º 3
0
def main():
    print('insa_func 모듈입니다.')
    print(f'__name__ : {__name__}')  #_main__
    hello_func.hello()
    greeting_func.greeting()
Exemplo n.º 4
0
def main():
    print("insa_func 모듈입니다.")
    print("__name__: ", __name__)  # 실행하면 __main__이 출력된다.
    hello_func.hello()
    greeting_func.greeting()
Exemplo n.º 5
0
def main():
    print("insa_func 모듈입니다.")
    print("__name__", __name__)  #__name__ : __main__
    hello_func.hello()
    greeting_func.greeting()  #__name__:greeting_func
Exemplo n.º 6
0
def main():
    print("insa_func 모듈입니다")
    print("__name__ : ", __name__)  # __name__ 변수의 값은 __main__ 이라는 값이 나옴
    hello_func.hello()
    greeting_func.greeting()