Skip to content

Instantly share code, notes, and snippets.

View ftnilsson's full-sized avatar

Fredrik Nilsson ftnilsson

View GitHub Profile
@ftnilsson
ftnilsson / svg_cleaner.py
Created June 25, 2018 05:52
cleans a svg file from inkscape tags and attributes
import sys
import tkinter as tk
from tkinter import filedialog
from tkinter import messagebox
import re
def clean_svg_file(content):
replacement = content
for nsName in tags: