#NEWLINE# @ staticmethod #NEWLINE# def openfile( paths ) : #NEWLINE# #INDENT# assert isinstance ( paths , ( list , tuple ) ) , ( str ( type ( paths ) ) + 'is not a tuple or list' ) #NEWLINE# with open ( paths [ 0 ] , 'rb' ) as X_fin , open ( paths [ 1 ] , 'rb' ) as y_fin : #NEWLINE# #INDENT# X = np . load ( X_fin ) #NEWLINE# y = np . load ( y_fin ) #NEWLINE# #UNINDENT# return ( X , y_fin )