cmd with three arguments
kaklis at gmail.com
kaklis at gmail.com
Mon May 17 08:11:25 EDT 2010
Hi pythonistas,
While playing with the Python Standard Library, i came across "cmd".
So I'm trying to make a console application. Everything works fine, i
created many function with do_....(self, line) prefix, but when i
tried to create a function with more arguments
i can't make it work. e.g
def do_connect(self, ip, command):
>>> connect 127.0.0.1 delete
Are there any work arounds
Thanks in advance
Antonis
More information about the Python-list
mailing list