[Descargar archivo con géneros](sandbox:/mnt/data/Libro1_generos.xlsx)

Yesenia Rodriguez 20 Reputation points
2026-04-21T05:26:22.67+00:00
Windows for home | Other | Files, folders, and storage

7 answers

Sort by: Most helpful
  1. Hector FC 35,070 Reputation points Independent Advisor
    2026-04-21T05:59:46.5666667+00:00

    Hola mi nombre es Héctor y estaré feliz de ayudarte hoy.

    ¿Me podrías comentar un poco del problema que tienes?, ¿está relacionado con Excel?, ¿Tienes una suscripción activa?

    Estoy atento a tus comentarios para continuar el acompañamiento.

    Was this answer helpful?

    100+ people found this answer helpful.

  2. Dariuxi Silva 5 Reputation points
    2026-05-26T03:55:33.5666667+00:00

    from reportlab.lib.pagesizes import legal

    from reportlab.platypus import SimpleDocTemplate, Image, Spacer

    from reportlab.lib.units import inch

    from PIL import Image as PILImage

    import os

    images = [

    "/mnt/data/C8BFD851-8CAC-4172-8569-48E9E331C15C.jpeg",
    
    "/mnt/data/6AAFF5AA-5E1F-476F-A4A1-0C31BFB278BA.jpeg",
    
    "/mnt/data/48FF8853-0FA7-4E15-BABA-6DA96C9A3002.jpeg",
    
    "/mnt/data/8593A8A6-4664-461E-9CB2-F4A5388125DB.jpeg",
    

    ]

    pdf_path = "/mnt/data/Prueba_Estructura_Exacta_Oficio.pdf"

    doc = SimpleDocTemplate(

    pdf_path,
    
    pagesize=legal,  # oficio aprox.
    
    rightMargin=20,
    
    leftMargin=20,
    
    topMargin=20,
    
    bottomMargin=20
    

    )

    elements = []

    for img_path in images:

    pil_img = PILImage.open(img_path)
    
    width, height = pil_img.size
    
    max_width = 7.7 * inch
    
    max_height = 12 * inch
    
    ratio = min(max_width / width, max_height / height)
    
    img = Image(img_path, width=width * ratio, height=height * ratio)
    
    elements.append(img)
    
    elements.append(Spacer(1, 0.2 * inch))
    

    doc.build(elements)

    print(f"PDF creado: {pdf_path}")

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments

  3. Cintia Camargo 0 Reputation points
    2026-07-16T14:12:32.88+00:00

    sandbox:/mnt/data/docx_render/lyna%20A4.pdf

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments

  4. Junior Eneque Herrera 0 Reputation points
    2026-07-14T00:42:39.58+00:00

    code-generated-file-3022db7b-6cc1-4b9e-a219-f2a778ac647f

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  5. dulce maria alcaraz arias 0 Reputation points
    2026-10-14T23:55:20.73+00:00

    sandbox:/mnt/data/Presentacion_Carta_de_Credito.pdf

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.