def AddSourceFile(ea1, ea2, filename):
    return idaapi.add_sourcefile(ea1, ea2, filename)
Mark a range of address as belonging to a source file
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/AddSourceFile