コード例 #1
0
ファイル: printInerface.py プロジェクト: SimleCat/work_qingli
def printTitle(dev_id, time_interval, num_test_error, num_test_total):
	mode = 'bold'
	fore = 'white'
	back = 'green'
	title = title_template % (dev_id, time_interval, num_test_error, num_test_total)
	myprint.printHLine(1, 1, myprint.terminal_width, ' ', mode, fore, back)
	myprint.printString_Center(1, title, mode, fore, back)
コード例 #2
0
ファイル: printInerface.py プロジェクト: SimleCat/work_qingli
def printTitle(num, time_interval, cnt):
	mode = 'bold'
	fore = 'white'
	back = 'green'	
	title = title_template % (num, str(time_interval), cnt)
	myprint.printHLine(1, 1, myprint.terminal_width, ' ', mode, fore, back, False)
	myprint.printString_Center(1, title, mode, fore, back)
コード例 #3
0
def printTitle(num, time_interval, cnt):
    mode = 'bold'
    fore = 'white'
    back = 'green'
    title = title_template % (num, str(time_interval), cnt)
    myprint.printHLine(1, 1, myprint.terminal_width, ' ', mode, fore, back,
                       False)
    myprint.printString_Center(1, title, mode, fore, back)