The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
!pip install PyPDF2
import PyPDF2
archivo_pdf = open('/content/drive/MyDrive/FULL-Seminario/Proyectos/rac_gpt/notebooks/pruebas/https___www.aerocivil.gov.co_normatividad_RAC_RAC 1 - Definiciones.pdf', 'rb')
lector_pdf = PyPDF2.PdfReader(archivo_pdf)
contenido_texto = ""
for pagina in lector_pdf.pages: contenido_texto += pagina.extract_text()
archivo_pdf.close()
archivo_texto = open('/content/drive/MyDrive/FULL-Seminario/Proyectos/rac_gpt/notebooks/pruebas/https___www.aerocivil.gov.co_normatividad_RAC_RAC 1 - Definiciones.txt', 'w')
archivo_texto.write(contenido_texto)
archivo_texto.close()
- Downloads last month
- 8