Python

python code를 바꾼 다음 인터프리터에 반영하기

guruzoa 2012. 7. 13. 17:35

Python도 컴파일 하지 않는 인터프리터 언어라고 하지만 결국은 컴파일 비스무리 한거는 한다.

모듈 베이스로 설계했을 때 모듈 코드 바꼈을 때 바로 반영은 안되고 다시 reload 및 import를 해야함

>> reload(module name)

>> from (module name) import *

다시 실행... 대략 난감임~

'Python' 카테고리의 다른 글

logging (screen out and file)  (0) 2021.02.19
Python Image Processing Library  (0) 2013.04.23
display class instance name & print class  (0) 2012.07.13
built-in fucntion 1 - ord  (0) 2012.07.11
Python 관련 사이트 모음...  (0) 2012.02.16