Skip to content

Nikuroji/TextFileScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

TextFileScanner (Сканер текстовых файлов)

Простая утилита для поиска ключевых слов в текстовом файле и сохранения результатов.

Описание

TextFileScanner - это небольшой Python-скрипт, который позволяет искать заданное ключевое слово в текстовом файле. Найденные строки выводятся в консоль и сохраняются в отдельный файл.

Как использовать

  1. Создайте файл scan.txt с текстом для поиска
  2. Запустите скрипт командой python scan.py
  3. Введите ключевое слово для поиска
  4. Просмотрите результаты в консоли и в файле results.txt

Пример

> python scan.py
Введите ключевое слово: пример
Строка с примером текста
Еще один пример
Результаты сохранены в results.txt

TextFileScanner

A simple utility for searching keywords in a text file and saving the results.

Description

TextFileScanner is a small Python script that allows you to search for a specified keyword in a text file. The matching lines are displayed in the console and saved to a separate file.

How to use

  1. Create a scan.txt file with the text to search in
  2. Run the script with python scan.py
  3. Enter the keyword to search for
  4. View the results in the console and in the results.txt file

Example

> python scan.py
Enter a keyword: example
This is an example line
Another example of text
Results saved to results.txt

About

TextFileScanner - Сканер текстовых файлов. Указываешь текст для поиска, в отдельный файл выводятся строки, где есть указанный текст.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors