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
| #!/usr/bin/env python3 | |
| """ | |
| Automatizare descărcare PDF-uri din Arcanum (FIXED VERSION cu SORTARE CRONOLOGICĂ): | |
| - FIXED: Scanează corect toate fișierele existente de pe disk | |
| - FIXED: Păstrează progresul parțial între zile | |
| - FIXED: Procesează și combină corect TOATE PDF-urile pentru fiecare issue | |
| - FIXED: Resume logic corect pentru issue-urile parțiale | |
| - FIXED: Detectează corect prefix-urile pentru fișiere | |
| - FIXED: Verifică corect issue-urile complete pentru skip URLs | |
| - FIXED: Elimină dublurile automat |
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 re | |
| from docx import Document | |
| from docx.shared import Pt, RGBColor, Inches | |
| from docx.enum.text import WD_ALIGN_PARAGRAPH, WD_TAB_ALIGNMENT, WD_TAB_LEADER | |
| from docx.oxml.ns import qn | |
| from docx.oxml import parse_xml | |
| def has_page_break(paragraph): | |
| """Check if paragraph has a page break before it""" |
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 re | |
| import sys | |
| try: | |
| import win32com.client | |
| HAS_WIN32COM = True | |
| except ImportError: | |
| HAS_WIN32COM = False | |
| print("Warning: win32com not available. Install with: pip install pywin32") |
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 o carte docx cu capitole. Vreau sa fac cuprinsul, adica sa scriu capitolele si in dreptul lor numarul paginii la care se gaseste capitolul. Este vreun website care face asta automat? | |
| Identifică funcționalitate Word încorporată și planifică explicație. | |
| Nu ai nevoie de niciun website! Microsoft Word face asta automat și este cel mai simplu mod! Iată cum: |
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 glob | |
| from moviepy.editor import * | |
| import time | |
| def get_media_files(directory): | |
| """Găsește toate fișierele media din director""" | |
| print("🔍 Caut fișiere media...") | |
| image_extensions = ['*.jpg', '*.jpeg', '*.png', '*.bmp', '*.tiff', '*.gif'] |
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 glob | |
| from moviepy.editor import * | |
| import time | |
| def get_media_files(directory): | |
| """Găsește toate fișierele media din director""" | |
| print("🔍 Caut fișiere media...") | |
| image_extensions = ['*.jpg', '*.jpeg', '*.png', '*.bmp', '*.tiff', '*.gif'] |
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 glob | |
| from moviepy.editor import * | |
| import gc | |
| import psutil | |
| import time | |
| import multiprocessing | |
| def get_media_files(directory): | |
| """Gaseste toate fisierele media din director""" |
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 glob | |
| from moviepy.editor import * | |
| import gc | |
| import psutil | |
| import time | |
| import math | |
| def get_media_files(directory): | |
| """Gase?te toate fi?ierele media din director""" |
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
| FINAL Corecturi gramaticale si stilistice facute pe site-ul https://neculaifantanaru.com in limba romana | |
| Corecteaza gramatical si stilistic in limba romana urmatoarele: | |
| El mi-a dezvăluit fără să rostească explicit că fiecare act de renunțare smerită este o lecție despre răsplata supremă. Ca și cum m-ar fi cunoscut de-o viață, m-a privit în ochi direct, cu privirea aceea pătrunzătoare ce îmi ghicea parcă toate tainele sufletului și mi-a spus: | |
| Ce e gresit aici? | |
| Excelentă întrebare — textul tău este foarte bine scris, cu un ton elevat și expresiv. Totuși, există câteva detalii gramaticale și stilistice minore care pot fi ajustate pentru a-l aduce la o formă perfect corectă și fluentă. |
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 | |
| def compare_files(): | |
| base_dir = r"e:\Carte\BB\17 - Site Leadership\alte\Ionel Balauta\Aryeht\Task 1 - Traduce tot site-ul\Doar Google Web\Andreea\Meditatii\2023\Compara 2 fisiere txt si arata diferentele de linii care exista in unul, dar nu si in celalalt" | |
| fisier_baza = f"{base_dir}\\Fisier de baza.txt" | |
| fisier_comparat = f"{base_dir}\\Fisier de comparat.txt" | |
| fisier_output = f"{base_dir}\\output.txt" | |
| try: |
NewerOlder