This feature is not supported on python2 -> emulate it by hand.
Attach a file by drag & drop or click to upload