def main(): ##read_config() splash_screen() show_pause() show_instructions() show_pause()
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()
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()
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()