A channel specialized in technology, especially programming. In this channel, we share programming ideas and scripts in languages such as Python and a lot of programming related things. --------------------------------------------- قناة متخصصة في التكنولوجبيا خاصة البرمجة نقوم في هذه القناة بمشاركة افكار برمجية واسكريبتات بلغات مثل بايثون والكثير من الاشياء المتعلقة بالبرمجة ---------------------------------------------
crsf_token =html.find("input",{"name" : "crsf_token" })["value"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable Doesnt work to me
import os from pdf2image import convert_from_path, convert_from_bytes # Ruta del archivo PDF pdf_path = 'MATEMATICAS_I.pdf' # Convertir PDF a una lista de imágenes PIL images = convert_from_path(pdf_path, 500,poppler_path= r'C:\poppler-24.07.0\Library\bin') # Guardar cada página como un archivo JPG for i, image in enumerate(images): image.save(f'pagina_{i+1}.jpg', 'JPEG')
My problem is that I tried many libraries that did not work with me, because the project I am working on is rather large and contains many subfolders and everything I do to turn the project into an executive file, he tells me that the executive file cannot read the annation sentences, which is import, and when I run the project from the development environment, I did not find any mistake.