Changeset 13207


Ignore:
Timestamp:
21 Aug 2015, 14:01:32 (9 years ago)
Author:
uli
Message:

Add docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/scripts.py

    r13206 r13207  
    143143
    144144def export_part(container, part_num, start, end, path):
     145    """Export part number `part_num` from `container` to `path`.
     146
     147    `path` is the filesystem path we want to export to. `start` and
     148    `end` are the index numbers of the elements we want to
     149    export. Indexes are zero-based (starting with zero, not one).
     150    """
    145151    gc.collect()
    146152    mem1 = get_mem_info()
     
    164170    parts = partition(studs)
    165171
    166     #parts = [(0, 0, 100), ]
     172    parts = [(0, 0, 100), ]
    167173    #parts = [(0, 0, 4999), (1, 5000, 9999), (2, 10000, 14999)]
    168174    #parts = [(0, 0, 14999), ]
Note: See TracChangeset for help on using the changeset viewer.