import bpy import os, enum class BlenderPresetIcons(enum.Enum): Info = 'INFO' Warning = 'ERROR' Error = 'CANCEL'