cmd module "busy waiter" ?

P

placid

Hi all,

Just wondering if the cmd module in python uses "busy waiting" for
"polling" user command input as this is inefficient.

Cheers
 
D

Dennis Lee Bieber

Just wondering if the cmd module in python uses "busy waiting" for
"polling" user command input as this is inefficient.
Use the Source...

At least on 2.3.x...

Last paragraph of the docstring:


These interpreters use raw_input; thus, if the readline module is
loaded,
they automatically support Emacs-like command history and editing
features.
--
 
P

placid

Dennis said:
Use the Source...

At least on 2.3.x...

Last paragraph of the docstring:


These interpreters use raw_input; thus, if the readline module is
loaded,
they automatically support Emacs-like command history and editing
features.



i dont know Emacs, and im using Windows XP (cant find readline module,
only for *nix ), does that mean it still busy waits...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,197
Latest member
ปั๊มเฟส|JoyLikeSEO

Latest Threads

Top