Best Practice

Write idPrefix on initiating Drawing instance

This will prevent further id name collision if you want to display multiple svg on web page. Make sure that the idPrefix is unique to other svg's on the same page. **This is recommended if you start calling id stuff (gradient, clip, etc)

d = draw.Drawing(400, 300, idPrefix='pic')