In [4]:
import PageObjects.implementations as scripts
from pandas import read_excel

In [5]:
MyData = scripts.StudentRecord()

In [6]:
MyData.get_all_student_credits()


  0%|                                     | 7/53004 [00:33<69:34:21,  4.73s/it]
---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-6-e61d4e67b623> in <module>()
----> 1 MyData.get_all_student_credits()

C:\Users\aperusse\GitHub\cy-automation-library\cyautomation\mydata\PageObjects\implementations.py in get_all_student_credits(self)
     85             StudentRecord = page.StudentRecord(self.driver)
     86             StudentRecord.wait_for_page_to_load()
---> 87             sleep(2)
     88             r, c, n = StudentRecord.extract_credit_info()
     89             self.record_stack.append([student_id, r, c, n])

KeyboardInterrupt: 

In [7]:
MyData.record_stack


Out[7]:
[['101097M004', '# Suspensions', 'CELDT', 'BEGINNING'],
 ['091394M152', '# Suspensions', 'CELDT', 'EARLY INTERMEDIATE'],
 ['082096M100', '41', '0', 'Current'],
 ['062895F045', '248', '0', 'Current'],
 ['090494F119', '230', '346', '0'],
 ['021693F121', 'Credits Failed', 'Credits Needed', '0'],
 ['100798F004', '45', 'Current', '1-BEG']]

In [ ]: