Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Insert user script directory at start of sys.path (not end) #958
Windows 10, xlwings version 0.12.1
When I give my Python script a name that clashes with a module name in my Python environment, the RunPython() function loads the named module from the environment instead of my script. Normally Python looks for module imports in the current directory first, and then the system path.
Expected result: Script runs and writes
Edit the VBA code in the xlwings module: Instead of