module

· Python
Sol 1) importlib의 reload( ) 함수 사용 (3.12 이후 imp 지원 X) import example import importlib # make changes to example.py file importlib.reload(example) 기존의 sys.path.module에 등록된 module을 reload 시킨다. 주의 해야할 것은 절대 경로에 없는 module일 경우 절대 경로에 등록을 시켜줘야한다. Sol 2) JupyterNote Book에서 Magic Command로 reload 하는 방법 더보기 https://ipython.readthedocs.io/en/stable/config/extensions/autoreload.html autoreload — IPython 8.14..
다했다
'module' 태그의 글 목록