Skip to content

Instantly share code, notes, and snippets.

@DavidLutton
Last active June 7, 2019 21:13
Show Gist options
  • Save DavidLutton/a51680893548c4b9439d4036f14f00cf to your computer and use it in GitHub Desktop.
Save DavidLutton/a51680893548c4b9439d4036f14f00cf to your computer and use it in GitHub Desktop.
from importlib import reload
import recycling
time.sleep(60) # time to edit recycling
reload(recycling) # reload recycling
recycling.get_recycling() # make use of the module
# https://stackoverflow.com/questions/1254370/reimport-a-module-in-python-while-interactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment