golden hour
/lib64/python2.7/Demo/scripts
⬆️ Go Up
Upload
File/Folder
Size
Actions
README
1009 B
Del
OK
beer.py
459 B
Del
OK
beer.pyc
703 B
Del
OK
beer.pyo
703 B
Del
OK
eqfix.py
6.16 KB
Del
OK
eqfix.pyc
4.52 KB
Del
OK
eqfix.pyo
4.52 KB
Del
OK
fact.py
1.11 KB
Del
OK
fact.pyc
1.14 KB
Del
OK
fact.pyo
1.14 KB
Del
OK
find-uname.py
1.18 KB
Del
OK
find-uname.pyc
1.47 KB
Del
OK
find-uname.pyo
1.47 KB
Del
OK
from.py
874 B
Del
OK
from.pyc
749 B
Del
OK
from.pyo
749 B
Del
OK
lpwatch.py
2.77 KB
Del
OK
lpwatch.pyc
2.54 KB
Del
OK
lpwatch.pyo
2.54 KB
Del
OK
makedir.py
510 B
Del
OK
makedir.pyc
732 B
Del
OK
makedir.pyo
732 B
Del
OK
markov.py
3.51 KB
Del
OK
markov.pyc
3.93 KB
Del
OK
markov.pyo
3.93 KB
Del
OK
mboxconvert.py
3.11 KB
Del
OK
mboxconvert.pyc
3.17 KB
Del
OK
mboxconvert.pyo
3.17 KB
Del
OK
morse.py
4.21 KB
Del
OK
morse.pyc
4.33 KB
Del
OK
morse.pyo
4.33 KB
Del
OK
newslist.doc
2.36 KB
Del
OK
newslist.py
11.17 KB
Del
OK
newslist.pyc
7.55 KB
Del
OK
newslist.pyo
7.55 KB
Del
OK
pi.py
888 B
Del
OK
pi.pyc
921 B
Del
OK
pi.pyo
921 B
Del
OK
pp.py
3.73 KB
Del
OK
pp.pyc
2.28 KB
Del
OK
pp.pyo
2.28 KB
Del
OK
primes.py
603 B
Del
OK
primes.pyc
921 B
Del
OK
primes.pyo
921 B
Del
OK
queens.py
2.19 KB
Del
OK
queens.pyc
2.95 KB
Del
OK
queens.pyo
2.95 KB
Del
OK
script.py
962 B
Del
OK
script.pyc
1.21 KB
Del
OK
script.pyo
1.21 KB
Del
OK
unbirthday.py
3.07 KB
Del
OK
unbirthday.pyc
2.93 KB
Del
OK
unbirthday.pyo
2.93 KB
Del
OK
update.py
2.69 KB
Del
OK
update.pyc
2.69 KB
Del
OK
update.pyo
2.69 KB
Del
OK
Edit: lpwatch.pyo
� V �Qc @ st d d l Z d d l Z d d l Z d Z d Z d � Z d � Z e d k rp y e � Wqp e k rl qp Xn d S( i����Nt psci c C s t } y t j d } Wn t j d } n Xt j d } | r� xl t | � D]- \ } } | d d k rN | d | | <qN qN Wn. t j j d � r� t j d g } n t g } t j d d � j � } xJ t r| } x% | D] } | t | | � d 7} q� W| GHt j | � q� Wd S( Nt LOGNAMEt USERi i s -Pt PRINTERt cleart rs ( t DEF_DELAYt ost environt syst argvt enumeratet has_keyt DEF_PRINTERt popent readt Truet makestatust timet sleep( t delayt thisusert printerst it namet clearhomet text( ( s, /usr/lib64/python2.7/Demo/scripts/lpwatch.pyt main s( c C s� t j d | d d � } g } i } d } d } t } d } d } xl| D]d} | j � } t | � } t | � d k rK| | d d k rK| d d !\ } } } | d d !} t | | d � } | | k r� t } n | s� | | 7} | d 7} n | | 7} | d 7} | j | d � \ } } | d 7} | | 7} | | f | | <qK | rK | d d k rK | j � } | d k r�| d } n | d d k r�| } n | j | � qK qK W| r�d | d d } | t | � k r�| d | 7} n t | � d k r| d | j � d f 7} nV | d t | � 7} | rt| d k rU| d | 7} qt| d | d d | f 7} n | j | � n | j � } | r�| j d | f � n d j | � S( Ns lpq -Ps 2>&1R i i i t bytesi i����i t Ranks no entriess : idlei��s is ready and printings %d Ki� i s (%d jobs)s for %ss for %d userss (%s first)s (%d K before %s)s lpq exit status %rs : ( i i ( R R t Falset splitt lent intR t gett stript appendt keyst closet join( R R t pipet linest userst aheadbytest aheadjobst userseent totalbytest totaljobst linet fieldst nt rankt usert jobt filesR t ujobst ubytest sts( ( s, /usr/lib64/python2.7/Demo/scripts/lpwatch.pyR ) sd & t __main__( R R R R R R R t __name__t KeyboardInterrupt( ( ( s, /usr/lib64/python2.7/Demo/scripts/lpwatch.pyt <module> s 9
Save