Beispiel #1
0
def main():

    ##read_config()

    splash_screen()
    show_pause()
    show_instructions()
    show_pause()
Beispiel #2
0
def main():

    ##read_config()
    
    splash_screen()
    show_pause()
    show_instructions()
    show_pause()
Beispiel #3
0
def main():
    
    sys.stdout.write("\x1b[8;{rows};{cols}t".format(rows=100, cols=100))
    splash_screen()
    show_pause()
    show_instructions()
    show_pause()
    
    tc = TestCollection.objects.all()
    for coll in tc:
        t = Topic.objects.filter(testcollection=coll)
        for ti in t:
            d = Document.objects.filter(topic=ti)
            i = 0
            n = len(d)
            set_progress_doc(i,n)
            show_topic_screen(ti)
            show_pause()
            for dj in d:
                i += 1
                set_progress_doc(i)
                process_document(ti,dj)
            show_break_screen('Topic Completed.')
            show_pause()
Beispiel #4
0
def main():
    
    
    splash_screen()
    show_pause()
    show_instructions()
    show_pause()
    
    tc = TestCollection.objects.all()
    # print tc
    t = Topic.objects.filter(testcollection=tc)
    for ti in t:
        d = Document.objects.filter(topic=ti)
        i = 0
        n = len(d)
        set_progress_doc(i,n)
        show_topic_screen(ti)
        show_pause()
        for dj in d:
            i += 1
            set_progress_doc(i)
            process_document(ti,dj)
        show_break_screen('Topic Completed.')
        show_pause()
Beispiel #5
0
def main():

    sys.stdout.write("\x1b[8;{rows};{cols}t".format(rows=100, cols=100))
    splash_screen()
    show_pause()
    show_instructions()
    show_pause()

    tc = TestCollection.objects.all()
    for coll in tc:
        t = Topic.objects.filter(testcollection=coll)
        for ti in t:
            d = Document.objects.filter(topic=ti)
            i = 0
            n = len(d)
            set_progress_doc(i, n)
            show_topic_screen(ti)
            show_pause()
            for dj in d:
                i += 1
                set_progress_doc(i)
                process_document(ti, dj)
            show_break_screen('Topic Completed.')
            show_pause()