SyntaxFix
Write A Post
Hire A Developer
Questions
Thank you everyone. Your ways are perfect. I would like to share another way I used to fix the problem. I used the function os.chdir(path) to change local directory to path. After which I saved image normally.
os.chdir(path)