<s> import os <EOL> ROOT_DIR = os . path . dirname ( os . path . dirname ( os . path . abspath ( __file__ ) ) ) <EOL> def get_dir ( relative_path = '<STR_LIT>' ) : <EOL> if ROOT_DIR == '<STR_LIT>' : <EOL> raise Exception ( "<STR_LIT>" ) <EOL> return os . path . join ( ROOT_DIR , relative_path ) <EOL> CACHE_DIR = get_dir ( '<STR_LIT>' ) <EOL> if not os . path . exists ( CACHE_DIR ) : <EOL> os . makedirs ( CACHE_DIR ) <EOL> def delete_cache ( ) : <EOL> os . remove ( CACHE_DIR ) </s>
