I fond the answer.
the path in os.listdir(“C:\ZZZ”) is relocated to main folder & got output.
Thanks to everyone
solved py file not executed when run through batch file
I fond the answer.
the path in os.listdir(“C:\ZZZ”) is relocated to main folder & got output.
Thanks to everyone
solved py file not executed when run through batch file