#NEWLINE# def config_files_from_theanorc( ) : #NEWLINE# #INDENT# rval = [ os . path . expanduser ( rval ) for s in os . getenv ( 'THEANORC' , '~/.theanorc' ) . split ( os . pathsep ) ] #NEWLINE# if ( ( os . getenv ( 'THEANORC' ) is None ) and ( sys . platform == 'win32' ) ) : #NEWLINE# #INDENT# rval . append ( os . path . expanduser ( '~/.theanorc.txt' ) ) #NEWLINE# #UNINDENT# return rval