This file contains 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 | |
def find_cyrillic_in_files(directory, extensions): | |
# Регулярное выражение для поиска кириллических букв | |
cyrillic_pattern = re.compile(r'[А-Яа-яЁё]') | |
# Обход всех файлов в директории | |
for root, _, files in os.walk(directory): | |
for file in files: |
This file contains 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
using System; | |
using System.IO; | |
using Spire.Doc; | |
using Spire.Doc.Documents; | |
namespace doc_to_text | |
{ | |
public class DocxConverter | |
{ | |
public enum OutputFormat |
NewerOlder