Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can Python be used to locate multiple strings within a directory of text files, and then extract the respective row of each string along with the following 50 rows and save them to a separate file?