def concatFiles(src, oth, dest):
    with open(src, 'rb') as s:
        with open(oth, 'rb') as o:
            data = s.read() + o.read()

    with open(dest, 'wb+') as d:
        d.write(data)
dataset/ETHPy150Open yymax/x509test/src/Definitions.py/concatFiles/original