#NEWLINE# def get_resource_path( self ) : #NEWLINE# #INDENT# 'Every article object has a special directory to store data in from\n        initialization to garbage collection\n        ' #NEWLINE# res_dir_fn = 'article_resources' #NEWLINE# resource_directory = os . path . join ( settings . TOP_DIRECTORY , res_dir_fn ) #NEWLINE# if ( not os . path . exists ( resource_directory ) ) : #NEWLINE# #INDENT# os . mkdir ( resource_directory ) #NEWLINE# #UNINDENT# dir_path = os . path . join ( dir_path , ( '%s_' % self . link_hash ) ) #NEWLINE# return dir_path