예제 #1
0
def make_workbook_map():
    def _names():
        yield "workbook"
        for c in itertools.count(1):
            yield "workbook_%d" % c

    return dict(list(zip(_names(), xl.workbooks())))
예제 #2
0
파일: shell.py 프로젝트: wenh123/PTVS
def make_workbook_map():
    def _names():
        yield "workbook"
        for c in itertools.count(1):
            yield "workbook_%d" % c

    return dict(zip(_names(), xl.workbooks()))
예제 #3
0
def ensure_open_workbook():
    if not xl.workbooks():
        xl.Workbook()
    assert xl.workbooks()
예제 #4
0
파일: shell.py 프로젝트: Afelio/PTVS
def ensure_open_workbook():
    if not xl.workbooks():
        xl.Workbook()
    assert xl.workbooks()