Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python reload file if changed

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 #reload #file #changed
ADD COMMENT
Topic
Name
3+4 =