Inexperienced in programming.
Svgwrite scripts only work in IDLE for me. Let's say you have this:
import svgwrite
svg_document = svgwrite.Drawing(filename = 'new.svg', size = (2400, 2400))
print(svg_document.tostring())
svg_document.save()
What would you need to add to make it run normally?
Thanks for any help!