subprocess that does the right checks. This now works on Windows as well.
Attach a file by drag & drop or click to upload