def SegByName(segname):
    seg = idaapi.get_segm_by_name(segname)

    if not seg:
        return BADADDR

    return seg.sel
Create new BackupSchedule instance with specified enabled, weekly,
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SegByName--crossover with--dataset/ETHPy150Open rackerlabs/python-cloudservers/com/rackspace/cloud/servers/api/client/backupschedule.py/BackupSchedule.__init__