Open w0rhost opened 7 years ago
cmdloop() is a function of cmd.Cmd (which should be a standard Python library). The printer class inherits from cmd.Cmd:
import cmd
...
class printer(cmd.Cmd, object):
...
Do you get an error message (which needs to be fixed) or are you simple investigating the code?
Thank you for your reply! I`m just Learning programming。。
In the printer.py file, it quotes the function self.cmdloop(), but i can not find where it defined..please help me!!!