Matematicas Pdf | Genios De Las

# Mostrar resultados en la lista self.result_list.delete(0, tk.END) for libro in data["libros"]: self.result_list.insert(tk.END, f"{libro['titulo']} - {libro['autor']}")

def run(self): self.root.mainloop()

if __name__ == "__main__": app = GeniosDeLasMatematicas() app.run() Genios De Las Matematicas Pdf

# Guardar el archivo PDF en el disco file_path = filedialog.asksaveasfilename(defaultextension=".pdf", filetypes=[("PDF", "*.pdf")]) if file_path: with open(file_path, "wb") as file: for chunk in response.iter_content(chunk_size=1024): file.write(chunk) # Mostrar resultados en la lista self

# Lista de resultados self.result_list = tk.Listbox(self.root, width=50) self.result_list.pack() "*.pdf")]) if file_path: with open(file_path

Leave a Reply