do-while loop?

Tom Funk _spam_sux_tdfunk at _spam_sux_nettally.com
Fri Mar 24 14:34:35 EST 2000


In an article posted 24 Mar 2000 10:15:46 -0500,
Alex (alex at somewhere.round.here) said:
>> you might want to check out the 'command' module if you 
>> haven't already.  

Thanks for the tip.

Actually, the command processor example was contrived.  I wanted to think 
of a somewhat plausible reason to nest loops that would make at least 
some sense.  The command processor logic seemed appropriate.

I have looked at the commands (plural) module (not the 'command' module - 
I couldn't find that one).  And, unless I was looking at the wrong one, 
it doesn't implement a command processor.  It only allows you to run Unix 
shell commands and capture their output into strings.  It doesn't 
implement a command dispatch loop.  Even shutil.py only support files 
copying and directory removing.

In fact, as long as you brought it up, I've been thinking about writing a 
remote command line interface utility to assist me with some 
administration on a remote site. Something where commands execute "over 
there" but the output and UI are "over here."  Kind of like Knowbots, but 
*way* more simple.

Seen anything like that?  

Thanks.

-=< tom >=-
Thomas D. Funk                           |       "Software is the lever
Software Engineering Consultant          | Archimedes was searching for"
Advanced Systems Design, Tallahassee FL. |




More information about the Python-list mailing list