how can I create enum class that its property use the value from other member? Like my following code
from enum import Enum class ProjectPath(Enum): home = '~/home' app = '~/home/app' prefix = '~/home/app/prefix' postfix = '~/home/app/postfix' ''' try to do something like from enum import Enum class ProjectPath(Enum): home = '~/home' app = f'{self.home.value}/app' prefix = f'{self.app.value}/prefix' postfix = f'{self.app.value}/postfix' '''