Вы можете разбить файл на строки, используя язык программирования Python 3 (скачать внизу страницы). Пример сценария:
# Your input file name
filename = r"C:\path\to\input.dat"
# Your new chunk files will be here. You must keep
# the {:04}, because it will be replaced by a number.
chunknametemplate = r"C:\path\to\input-{:04}.dat"
# Number of bytes for each chunk, set this to something large
# like 10*1000*1000 (for 10 MB).
minchunksize = 10*1000*1000
f = open(filename, 'rb')
buf = b''
chunknum=1
def writechunk():
global buf, chunknum
open(chunknametemplate.format(chunknum), 'wb').write(buf)
buf = b''
chunknum += 1
while True:
line = f.readline()
if line == b'':
break
buf += line
if len(buf) > minchunksize:
writechunk()
# Write the last chunk
writechunk()
Что вы хотите с этим делать? Если вы просто хотите просмотреть его, возможно, '' GVim''. – bgeron
На самом деле я хочу открыть в Excel после split. Tks! – RafaelCampos