Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python reimport module after change

import my_module				# initial import of my_module

from importlib import reload 	
my_module = reload(my_module)	# reload of my_module 
 
PREVIOUS NEXT
Tagged: #python #reimport #module #change
ADD COMMENT
Topic
Name
4+7 =