【问题标题】:Manipulating SVG-files with python使用 python 操作 SVG 文件
【发布时间】:2019-01-29 15:51:15
【问题描述】:

是否可以在 python 中操作现有的 svg 文件?我知道 svgwrite 包,但它只创建新的 svg 文件......我只想在现有的 svg 文件中添加 3 个数字。它应该只是显示带有这 3 个新数字的旧 svg 文件的更新。

【问题讨论】:

    标签: python svg svgwrite


    【解决方案1】:

    没有。与其他文本文件一样,您需要将文件读入内存,修改后将修改后的文件写入磁盘。

    【讨论】:

      猜你喜欢
      • 2014-03-10
      • 2021-06-25
      • 1970-01-01
      • 2013-06-04
      • 2014-04-10
      • 2011-04-02
      • 2020-04-29
      • 2011-01-23
      • 1970-01-01
      相关资源
      最近更新 更多