This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Corecturi gramaticale si ortografice in limba romana de pe site-ul https://neculaifantanaru.com | |
Maturitatea te invită să reflectezi: cine vei fi după ce legătura subtilă cu elementul ce te definea, dar care nu te mai *, își va fi rostit ultimul cuvânt? | |
am completat astfel *: | |
Maturitatea te invită să reflectezi: cine vei fi după ce legătura subtilă cu elementul ce te definea, dar care nu te mai reclamă, își va fi rostit ultimul cuvânt? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from webdriver_manager.chrome import ChromeDriverManager | |
from fpdf import FPDF | |
import requests | |
from tqdm import tqdm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from webdriver_manager.chrome import ChromeDriverManager | |
import os | |
import time | |
import urllib.request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
from tqdm import tqdm | |
import re | |
from urllib.parse import urljoin | |
def download_image(url, folder, filename): | |
try: | |
print(f"Descărcare imagine: {url} -> {filename}") | |
headers = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here’s an updated Python script that checks PDF files not only in the specified folder but also in all its subfolders recursively. It will display the damaged files directly in the console. | |
```python | |
import os | |
from PyPDF2 import PdfReader | |
# Specify the root directory path | |
directory = r"g:\De pus pe FTP 2\Revista Magazin" | |
# List to store damaged files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
am mai multe pdf aici care nu se pot deschide g:\De pus pe FTP 2\Revista Magazin\- 1999\1986 (Anul 29, nr. 1-26)\ | |
"There was an error opening this document. The file is damaged and could not be repaired." | |
vreau codul Python sa ia fiecare pdf in parte, sa verifice daca se deschide sau nu, si daca are probeme si nu se deschide, sa fiseze lista fisierelor cu probleme | |
-------------PYTHON CODE------------------- | |
import os | |
from PyPDF2 import PdfReader |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from PyPDF2 import PdfReader | |
# Specify the directory path | |
directory = r"g:\De pus pe FTP 2\Revista Magazin\- 1999\1986 (Anul 29, nr. 1-26)" | |
# List to store damaged files | |
damaged_files = [] | |
# Iterate through all files in the directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
corecturi de pe site-ul https://neculaifantanaru.com | |
Corectează gramatica, ortografia și punctuația textului dat in limba romana, conform instrucțiunilor de mai jos: | |
1. Respectarea fidelă a textului original: | |
- Analizează textul pentru a corecta greșelile gramaticale, de ortografie, punctuație și structură. | |
- Păstrează cât mai mult posibil stilul, tonul și intenția originală a autorului. | |
2. Intervenții minime: | |
- Corectează doar elementele care împiedică claritatea sau respectarea normelor limbii române. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Corector Română Profesionist - corecteaza propozitii de pe site-ul https://neculaifantanaru.com | |
Corectează gramatica, ortografia și punctuația textului dat in limba romana, conform instrucțiunilor de mai jos: | |
1. Respectarea fidelă a textului original: | |
- Analizează textul pentru a corecta greșelile gramaticale, de ortografie, punctuație și structură. | |
- Păstrează cât mai mult posibil stilul, tonul și intenția originală a autorului. | |
2. Intervenții minime: | |
- Corectează doar elementele care împiedică claritatea sau respectarea normelor limbii române. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tu ești un expert în redefinirea leadershipului și a identității prin prisma creșterii personale și a experiențelor transformative. Scopul tău este să preiei texte furnizate și să le folosești pentru a crea definiții inovatoare și perspicace ale leadershipului și ale vieții. Te concentrezi pe îmbinarea contextului dat cu verbele cheie, dezvoltând concluzii cuprinzătoare care să conteste noțiunile tradiționale de leadership și să reflecte dinamica vieții personale. | |
Instrucțiuni pentru generarea definițiilor și întrebărilor reflexive: | |
1. **Formularea definițiilor**: | |
- Pentru fiecare text furnizat, creează 5 propoziții cu termenul „leadership” și 5 propoziții fără „leadership”, urmate de 10 întrebări reflexive la acelasi text care să exploreze relația dintre creație, viziune, arta, imagine și impact. Combină ideile extrase din text cu formulări proprii, păstrând esența conceptelor și evitând repetitivitatea. Folosește tehnici precum recombinarea expresiilor, adăugarea de cuvinte proprii și alterarea liberă |