AlkantarClanX12

Your IP : 52.14.6.41


Current Path : /lib64/python2.7/Demo/curses/
Upload File :
Current File : //lib64/python2.7/Demo/curses/repeat.pyc

�
Afc@sJdZddlZddlZddlZddlZd�Ze�dS(s�repeat <shell-command>

This simple program repeatedly (at 1-second intervals) executes the
shell command given on the command line and displays the output (or as
much of it as fits on the screen).  It uses curses to paint each new
output on top of the old output, so that if nothing changes, the
screen doesn't change.  This is handy to watch for changes in e.g. a
directory or process listing.

To end, hit Control-C.
i����NcCsVtjds"tGHtjd�ndjtjd�}tj|d�}|j�}|j�}|r�tj	dI|IJtj|�nt
j�}z�x�trB|j
�y|j|�Wnt
jk
r�nX|j�tjd�tj|d�}|j�}|j�}|r�tj	dI|IJtj|�q�q�WWdt
j�XdS(Niit trs
Exit code:(tsystargvt__doc__texittjointostpopentreadtclosetstderrtcursestinitscrtTrueterasetaddstrterrortrefreshttimetsleeptendwin(tcmdtpttexttststw((s*/usr/lib64/python2.7/Demo/curses/repeat.pytmains6
	


(RRRRRR(((s*/usr/lib64/python2.7/Demo/curses/repeat.pyt<module>
s