Schedule Python script with Task Scheduler when using win32 module
I am trying to schedule a python script to run daily using windows Task Scheduler. I utilize the win32 module to control excel during the code which appears to generate an 0x1 error on running. I've checked using other scripts that do something similar and seem to have narrowed it down to the fact that this particular code uses the win32 module as all of the other are successful in running. Anyone have any suggestions on how to fix this?