ó Afc@s?ddlZddlmZd„Zd„ZejeƒdS(i˙˙˙˙N(t randrangecCss|dkrd}n |d8}tjƒrotddƒ}tj|ƒ}|r_|tjB}ntj|ƒn|S(Niiii(tcursest has_colorsRt color_pairtA_BOLDtstdscrtattrset(tjtztcolor((s(/usr/lib64/python2.7/Demo/curses/rain.pytnext_j s    c Cs|atjƒrJtj}tjdtj|ƒtjdtj|ƒntjƒtjƒtj dƒtj d}tj d}dg|}dg|}xHt dddƒD]4}t d|ƒd||s   E