Beispiel #1
0
#! /usr/bin/env python

from __future__ import print_function

import sys
import xlrd
import adass2018 as adass


def open_file(path):
    book = xlrd.open_workbook(path)
    ns = book.nsheets
    s0 = book.sheet_by_index(0)
    n = s0.nrows
    for row in range(3, n):
        fname = s0.cell(row, 3).value
        lname = s0.cell(row, 4).value
        email = s0.cell(row, 14).value
        #print   '"',fname,lname,'" <',email,'>'
        print(email)


if __name__ == "__main__":
    a = adass.adass('reg')
    if len(sys.argv) > 1:
        a.report_4(True, sys.argv[1])
    else:
        a.report_4(False)
Beispiel #2
0
#! /usr/bin/env python

from __future__ import print_function

import xlrd
import sys
import adass2018 as adass

if __name__ == "__main__":
    debug = True
    a = adass.adass('reg', debug)

    a.report_demo()
 def _getadass(self):
   from adass2018 import adass
   self.a = adass("reg")