8 lines
339 B
Python
8 lines
339 B
Python
import pdfplumber
|
|
|
|
file_path = '/home/x79/sisvietnamvn_01/sisvietnamvn_Trang chính thức hiện tại/DaoTao/2.-CHUONG-TRINH-CAN-THIEP-MACH-MAU-THAN-KINH-NANG-CAO-BO-SUNG-FINAL.pdf'
|
|
with pdfplumber.open(file_path) as pdf:
|
|
for i, page in enumerate(pdf.pages[:3]):
|
|
print(f'--- Page {i} ---')
|
|
print(page.extract_text())
|