import svgwrite
dwg = svgwrite.Drawing('вектор.svg', profile='tiny')
dwg.add(dwg.text('Цитата', insert=(0, 0.2), fill='red'))
dwg.save()
from tkinter import filedialog
# кнопка pdf
def button_pdf_clck():
dlg = filedialog.Open(initialdir = "", filetypes=[('PDF files', '*.pdf'), ('All files', '*')])
pdf_path = dlg.show()
if not ( pdf_path == () or pdf_path == '' ):
pdf_file.set(pdf_path)
button_pdf = ttk.Button(win, text="выбрать pdf файл", command=button_pdf_clck, width = 25)
button_pdf.pack(side='top', anchor = 'nw', padx=10, pady=10)