Replies: 1 comment 5 replies
-
I tried to create a master/slave structure, but it didn't work as well (I suspect due to object caching) master.py import xloil as xlo
import importlib
@xlo.func
def reload():
xlo.scan_module(importlib.import_module("slave")) slave.py import xloil as xlo
@xlo.func
def add(x, y):
return x + y |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Steven @cunnane!
First of all thanks for the library, I'm trying to migrate some VBA code to Python using it.
I'd like to know if there is some form of "hot reload": edit the python module, then immediately (or with the press of a button) see the code changes in Excel.
I tried using =xloPyLoad("module") but it didn't work.
Is there a way to do it? I have large-ish worksheets that take a long time to close and open again.
Best regards!
Beta Was this translation helpful? Give feedback.
All reactions