473,417 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,417 software developers and data experts.

cmd module "busy waiter" ?

Hi all,

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

Cheers

Apr 24 '06 #1
1 1670

Dennis Lee Bieber wrote:
On 23 Apr 2006 23:49:51 -0700, "placid" <Bu****@gmail.com> declaimed the
following in comp.lang.python:
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.


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

--
> ================================================== ============ <
> wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> wu******@dm.net | Bestiaria Support Staff <
> ================================================== ============ <
> Home Page: <http://www.dm.net/~wulfraed/> <
> Overflow Page: <http://wlfraed.home.netcom.com/> <


Apr 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ken Varn | last post by:
Sometimes when I try to close my managed C++ application, the following dialog displays in Win 2000 Pro: The title of the dialog is "Server Busy". The message is "This action cannot be completed...
1
by: Philipp Lenssen | last post by:
Using Firefox and this Reversi script http://gamesforthebrain.com/game/reversi/ , I often get "A script on this page may be busy ..." warning message. I suspect to be the recursive min-max...
0
by: VB Programmer | last post by:
I keep getting the "Microsoft Visual Studio is busy" message. Is there any way to tell WHY this is hanging up? I almost always have to just kill the task.
4
by: Gary Brown | last post by:
Hi and Happy Holidays, VS 2005 yields "Microsoft Visual Studio Is Busy Microsoft Visual Studio is waiting for an internal operation to comple. If you ... report this problem to Microsoft." ...
7
by: DC | last post by:
Hi, there is a 500;13 page one can configure in the website properties, but ..Net Framework 1.1 also delivers the "server too busy" message sometimes and the IIS custom error page does not seem...
3
by: frosted74 | last post by:
Hi, I have 2 javascript functions, one that sorts a table and one that shows/hides a modal dialog that displays something like "Sorting" with a little icon indicating that the browser is "busy"...
1
by: shimonbh | last post by:
I have encountered a problem in remoting when using IPCChannel, where i received an exception for an unexplained reason: "All pipes are busy" I checked whether it is the anti virus, causing this...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.