While working with a Python script this morning I noticed that the os.getcwd() method (which returns the current working directory) doesn’t work at all when the script is run from the Windows Task Scheduler, but does work from the command line.
The script uses the os.getcwd() call to set a base directory to be used throughout […]