How to download file attachments with python api

Hi I am having a problem downloading file attachments with python api https://api.trello.com/1/cards/{idCard}/attachments?key={key}&token={token}/{idAttachment}/ download/{attachmentFileName} but it doesn’t seem to work, where did I go wrong someone has any idea can anyone help me, thanks for reading my post