#NEWLINE# def load_component( file_path ) : #NEWLINE# #INDENT# ( dirname , _ ) = os . path . split ( os . path . realpath ( __file__ ) ) #NEWLINE# component_path = os . path . join ( dirname , component_path ) #NEWLINE# with open ( component_path ) as f : #NEWLINE# #INDENT# return f . read ( )