First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
if you also have lots of sheets you could delete a folder and remake it instead of each sheet,
if os.path.exists(PathDir + r"\sheets"):
shutil.rmtree(PathDir + r"\sheets")
os.makedirs(PathDir + r"\sheets")
Tried this as a comment but no formatting was available. Sorry if you got spammed with notifications of me changing the comment a bunch