files = []
with open("[...].log", "a+") as posshell:
for line in files:
print(line)
posshell_files.append(line)
I have no clue. It prints nothing. The array is empty. I've tried grabbing every null character and removing them in case it's UTF16 -> open as UTF8, didn't work.