I know I’m way late, but try either the os or the pathlib module to create a symlink, this makes it so you can edit files in a local directory but still have them sync with the files app.
brilliant! worked like a charm... I even sent it to myself via OneDrive so I don't forget again.
Or see Save Attachment
Oops! Looks like something went wrong!
You may only upload PNG, JPG, or GIF files ()