File size: 448 Bytes
1f72938
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from model1 import model1
from model2 import model2
import checkTool

def textreader(path):
    info1 = model1(path)
    info2 = model2(path)

    def print_info(name, valid_hkid, hkid, issuedate):
        print(f'Name: {name}') # name is without space
        print(f'HKID: {hkid} and validity: {valid_hkid}')
        print(f'Date of issue: {issuedate}')

    cinfo = checkTool.combine_info(info1, info2)

    return cinfo[0]

# print_info(*cinfo)