I read a post recently where someone mentioned that there is no need for using enums in python. I'm interested in whether this is true or not.
For example, I use an enum to represent modem control signals:
class Signals:
  CTS = "CTS"
  DSR = "DSR"
  ...
Isn't it better that I use if signal == Signals.CTS: than if signal == "CTS":, or am I missing something?
 
     
     
     
     
     
     
    