scenario is that
has a stack of py files in the commands
directory. Each file is a class. Each class has a different approach.
such as
-sharp daemon.py
import commands
while True:
message = json.loads(mq.receive())
if not hasattr(commands, message["class"])
logger.warn("error")
command = commands[message["class"]]()
command. message["action"] (message) ????
how should it be implemented or I shouldn"t use python? in this way Are you used to using php?