Login Register






File Merger Open Source filter_list
Author
Message
File Merger Open Source #1
Joins all files together into one file !
Just paste into file and save it as .py

import fileinput
import glob

file_list = glob.glob("*.txt")

with open('result.txt', 'w') as file:
input_lines = fileinput.input(file_list)
file.writelines(input_lines)

Reply

RE: File Merger Open Source #2
Quote:Open Source
Evidently - posted In plain text.

Appreciated.
[Image: AD83g1A.png]

Reply

RE: File Merger Open Source #3
(12-23-2021, 01:34 AM)mothered Wrote:
Quote:Open Source
Evidently - posted In plain text.

Appreciated.


would it be better to just post a file link instead ?

Reply

RE: File Merger Open Source #4
(12-23-2021, 02:29 AM)ENCRYP73D_GH05T Wrote: would it be better to just post a file link instead ?
It's much of a muchness, so It's totally up to you.
[Image: AD83g1A.png]

Reply