AlkantarClanX12
Current Path : /proc/self/root/lib64/python2.7/Demo/curses/ |
Current File : //proc/self/root/lib64/python2.7/Demo/curses/rain.pyc |
� Afc @ s? d d l Z d d l m Z d � Z d � Z e j e � d S( i����N( t randrangec C ss | d k r d } n | d 8} t j � ro t d d � } t j | � } | r_ | t j B} n t j | � n | S( Ni i i i ( t cursest has_colorsR t color_pairt A_BOLDt stdscrt attrset( t jt zt color( ( s( /usr/lib64/python2.7/Demo/curses/rain.pyt next_j s c C s | a t j � rJ t j } t j d t j | � t j d t j | � n t j � t j � t j d � t j d } t j d } d g | } d g | } xH t d d d � D]4 } t d | � d | | <t d | � d | | <q� Wd } xt r t d | � d } t d | � d } t j | | t d � � t j | | | | t d � � t | � } t j | | | | t d � � t | � } t j | | d | | t d � � t j | | | | d d � t j | | d | | t d � � t | � } t j | | d | | t d � � t j | | d | | d d � t j | | | | d d � t j | | d | | d d � t j | | d | | t d � � t | � } t j | | d | | t d � � t j | | d | | d d � t j | | | | d d � t j | | d | | d d � t j | | d | | t d � � | | | <| | | <t j � } | t d � k s�| t d � k r�d S| t d � k r�t j d � n"