Dennis Lee Bieber wrote:
> On 23 Apr 2006 23:49:51 -0700, "placid" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> > Just wondering if the cmd module in python uses "busy waiting" for
> > "polling" user command
Hi all,
Just wondering if the cmd module in python uses "busy waiting" for
"polling" user command input as this is inefficient.
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Sorry! I just retyped my script instead of copy pasting it.
well thank u once again for clearing my confusion.
--
http://mail.python.org/mailman/listinfo/python-list
Godwin Burby wrote:
> I was just curious about using the cmd module for building my
> own command line interface. i saw a problem. The script is as follows:
it helps if you include the code you were running, instead of some
approximation of it.
File "test", line
Dear Pythoneer,
I was just curious about using the cmd module for building my
own command line interface. i saw a problem. The script is as follows:
from cmd import Cmd
import getpass
class CmdTest(cmd):
def __init__(self):
super(CmdTest, self).__init__()
def do_login