Python Forum

Full Version: Can Pygame import and export SVG?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am making a Vector Graphics game.
maybe they can be files with patterns to fill in. read in the file as one big string and apply the .format() method where they need to be dynamically modified.
I heard SVG cannot be imported,exported or rendered in Pygame but is there an extension that can do that?
what are you trying to accomplish with the SVG?  maybe some other module will meet your needs.  there are several modules intended to work with SVG.
I just want to know,is there an extension that can do this?
(Feb-07-2017, 01:31 PM)OnisionTheOninonBoy Wrote: [ -> ]I just want to know,is there an extension that can do this?

we call them (extensions) modules.

most of the python coders here do not work with SVG or games and thus are not generally familiar with the modules related to SVG or games.  we do know many exist and can even name some of them.  for example there is one called svgwrite.

what you need to do is research the many modules that exist and determine which can do what you need.