-1
몇 개의 큰 파일을 파이썬 3을 사용하여 1로 병합 할 수 있습니까? 너무 많은 RAM을 사용 그것은 bash는 명령파이썬 3을 사용하여 큰 바이너리 파일 병합 3
cat * > outfile
처럼 작동해야하지만, 리눅스, 윈도우와 내가
outfile = open("outfile", "wb")
for file in os.listdir():
outfile.write(file.read())
를 사용하는 경우 OS X를
에서 작동해야
"대용량 파일"을 사용해 보셨습니까? http://stackoverflow.com/a/13613375/3430986? – orestisf
텍스트 파일에만 작동합니다. –
[파이썬 연결 텍스트 파일] (http://stackoverflow.com/questions/13613336/python-concatenate-text-files) – inspectorG4dget