#NEWLINE# def from_file( self , filename ) : #NEWLINE# #INDENT# '\n        Load settings from a Python file\n\n        Args:\n            filename (str): Absolute path to a Python file where settings\n                variables are defined.\n        ' #NEWLINE# config_mod = imp . new_module ( 'config' ) #NEWLINE# execfile ( filename , config_mod . __dict__ ) #NEWLINE# return self . from_object ( filename )