How to Break a Text into Individual Text Files by Chapter in Python

preview_player
Показать описание
If you enjoy this video, please subscribe. I provide all my content at no cost. If you want to support my channel, please donate via

If there's a specific video you would like to see or a tutorial series, let me know in the comments and I will try and make it.

In this video, we work with a sample text file of Alice in Wonderland. I demonstrate how to break up the entire text file in Python in milliseconds into individual chapters and then store those chapters as individual text files. While the methods presented in this video are for the Alice in Wonderland data sample, they can be applied to any project.
Рекомендации по теме
Комментарии
Автор

Thank you very much for your series of videos. Very well presented.

BernardoVasconcelos
Автор

This is similar to a project I'm working on, but I am stuck. What I am trying to do is take a log text file that is generated by a piece of test equipment that just creates one long text file with the results of each board. I want to break this file down into individual files that include part number, serial number, time stamp, and pass or fail as the file name this info is in the log file. The first word in every new file has the word start to begin a new record. Any help would be great. Also you did an excellent job on this video

RonHuffman