Using sub classes
Posted: Thu Oct 07, 2021 7:40 pm
I am a dispy newbie and am trying to distribute an existing application using dispy but I am having problems using class I have created which is a subclass of enum.Enum
dispynode.py falls over with the error...
NameError: name 'enum' is not defined
...when encountering the line:
class MyEnumSubclass(enum.Enum):
In my standard (non dispy) code the module including this line has...
import enum
...before the MyEnumSubclass definition.
How can I get dispynode to recognise enum?
CCD
dispynode.py falls over with the error...
NameError: name 'enum' is not defined
...when encountering the line:
class MyEnumSubclass(enum.Enum):
In my standard (non dispy) code the module including this line has...
import enum
...before the MyEnumSubclass definition.
How can I get dispynode to recognise enum?
CCD