I have made multiple text files that I want to join together to make a map
what I want is textfile1 to be next to textfile2,
but instead it dose textfile1 then textfile2 on the next line since
the files are multiple lines.
so far the best output has been achieved from using ~lines = [Map1.splitlines(), Map2.splitlines()] for l in zip(*lines): print(*l, sep="")~
but still isn't perfect
lines = [Map1.splitlines(), Map2.splitlines(), Map3.splitlines(), Map4.splitlines(), Map5.splitlines(), Map6.splitlines()]
for l in zip(*lines):
print(*l, sep="")
lines = [Map7.splitlines(), Map8.splitlines(), Map9.splitlines(), Map10.splitlines(), Map11.splitlines(), Map12.splitlines()]
for l in zip(*lines):
print(*l, sep="")
lines = [Map13.splitlines(), Map14.splitlines(), Map15.splitlines(), Map16.splitlines(), Map17.splitlines(), Map18.splitlines()]
for l in zip(*lines):
print(*l, sep="")
lines = [Map19.splitlines(), Map20.splitlines(), Map21.splitlines(), Map22.splitlines(), Map23.splitlines(), Map24.splitlines()]
for l in zip(*lines):
print(*l, sep="")