def data_dir(component):
 return os.path.join(appsettings.DATA_DIR, component)

def data_dir ( component ) : return os . path . join ( appsettings . DATA_DIR , component )
return the platform dependent orange data directory .