<s> import os <EOL> DATA_DIR = os . path . join ( <EOL> os . path . dirname ( os . path . realpath ( __file__ ) ) , "<STR_LIT:data>" ) <EOL> CHART_DIR = os . path . join ( <EOL> os . path . dirname ( os . path . realpath ( __file__ ) ) , "<STR_LIT>" ) <EOL> for d in [ DATA_DIR , CHART_DIR ] : <EOL> if not os . path . exists ( d ) : <EOL> os . mkdir ( d ) </s>
