W
W
Weishaupt2021-09-20 10:19:14
Python
Weishaupt, 2021-09-20 10:19:14

How to make a sorter application in Python?

There was a need to write a "sorter" to search for certain theses and definitions from articles in txt format, but since I just started learning Python, I can't figure out where to start and what libraries can help me with this.
The task is to take the necessary paragraphs (formulations (using regular expressions) of a specific topic) from the many articles that are saved in separate files and save them to separate files, with which I can get the information inside the file and is it possible to get it straight from the archive? And by what operation can I save it to a new txt file? Does Python have the ability to create a GUI or will it only work via the command line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-09-20
@Weishaupt

how can I get the information inside the file

Obviously, by means of functions of work with files.
is it possible to get it straight from the archive

Yes.
And by what operation can I save it to a new txt file?

Obviously, the operation of writing to a file.
Does Python have the ability to create gui

There is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question