3 Jan
2019
3 Jan
'19
3:12 a.m.
Sorry for my ignorance. May I know what should be imported before using mailman shell within Python?
$ python3.6 Python 3.6.6 (default, Aug 13 2018, 18:24:23) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux Type "help", "copyright", "credits" or "license" for more information.
command = cli('mailman.commands.cli_withlist.shell') Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'cli' is not defined
Link to documentation: https://mailman.readthedocs.io/en/latest/src/mailman/commands/docs/shell.htm...