Is it possible to upload file attachment with selenium in Python script?
If there is a form with file input on the page, I think it's straightforward to fill value in the input and submit the form with python api of selenium. You can find some sample code on the document page