Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python refresh import

from importlib import reload  
import foo

while True:
    # Do some things.
    if is_changed(foo):
        foo = reload(foo)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #refresh #import
ADD COMMENT
Topic
Name
4+4 =