I am using excel macro button in my excel file. on clicking that button one python script get called and that script is in D drive. and in that script I am doing os.getcwd().It should give me D drive but instead its giving me C drive.
I am expecting that it should give me D drive path for os.getcwd as it present in D drive but giving me c drive