def from_template(Brand, Model, Fuel_cons, Price, template):
    template = DocxTemplate(template)
    data = get_data(Brand, Model, Fuel_cons, Price)
    template.render(data)
    template.save('О_машине.docx')
def from_template(Brand, Model, Fuel_cons, Price, template):
    template = DocxTemplate(template)
    data = get_data(Brand, Model, Fuel_cons, Price)
    template.render(data)
    template.save('О_машине.docx')