Adding child attachment creation convenience functions
Adding child attachment creation convenience functions

child_attachment_filename(Item ID, file path[, file path, … ])
child_attachment_both(Item ID, (title, file path)[, (title, file path), … ])

The former uses the path's basename as the title: /foo/bar.txt --> bar.txt
The latter allows you to specify the title used for the attachment

DrGo/pyzotero,urschrei/pyzotero