Edit File: tdemo_clock.pyo
� ]�7ec�����������@���s����d��Z��d�d�l�Td�d�l�m�Z�d�d���Z�d����Z�d����Z�d����Z�d ����Z�d ����Z�d����Z �d����Z �d ����Z�e�d�k�r��e �d���e����Z�e�GHe����n��d�S(���s���� turtle-example-suite: tdemo_clock.py Enhanced clock-program, showing date and time ------------------------------------ Press STOP to exit the program! ------------------------------------ i����(���t���*(���t���datetimei����c���������C���s0���t�����t�|���t�|����t�|���t����d��S(���N(���t���penupt���rightt���forwardt���leftt���pendown(���t���distanzt���winkel(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���jump���s ���� c���������C���sj���t��|��d���t�d���t��|�d���t�d���t��|���t�d���t��|���t�d���t��|�d���d��S(���Ngffffff�?iZ���g�������@ix���(���t���fdt���rtt���lt(���t���laenget���spitze(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���hand���s���� c���������C���sK���t�����t�|�d���t����t�|�|���t����t����}�t�|��|���d��S(���Ng333333�?(���t���resetR ���t ���begin_polyR���t���end_polyt���get_polyt���register_shape(���t���nameR ���R���t ���hand_form(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���make_hand_shape"���s���� c���������C���s����t�����t�d���xi�t�d���D][�}�t�|����|�d�d�k�rZ�t�d���t�|��d���n�t�d���t�|����t�d���q�Wd��S(���Ni���i<���i���i����i���i���i���(���R���t���pensizet���rangeR ���R ���t���dotR���(���t���radiust���i(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt ���clockface+���s���� c����������C���s2��t��d���t�d�d�d���t�d�d�d���t�d�d�d���t�d ���t����a�t�j�d���t�j�d �d���t����a�t�j�d���t�j�d�d ���t����a�t�j�d���t�j�d�d���xD�t�t�t�f�D]3�}��|��j �d���|��j �d�d�d���|��j�d���q��Wt����t����a �t �j����t �j����t �j�d���d��S(���Nt���logot���second_handi}���i���t���minute_handi����t ���hour_handiZ���i����t���gray20t���gray80t���blue1t���red1t���blue3t���red3t���useri���i���i����iU���(���t���modeR���R���t���TurtleR���t���shapet���colorR ���R!���t ���resizemodet ���shapesizet���speedt���htt���writert���put���bk(���R���(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���setup8���s.���� c���������C���s)���d�d�d�d�d�d�d�g�}�|�|��j�����S(���Nt���Mondayt���Tuesdayt ���Wednesdayt���Thursdayt���Fridayt���Saturdayt���Sunday(���t���weekday(���t���tt ���wochentag(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyR>���S���s���� c���������C���s^���d�d�d�d�d�d�d�d�d �d �d�d�g�}�|��j��}�|�|��j�d �}�|��j�}�d�|�|�|�f�S(���Ns���Jan.s���Feb.s���Mar.s���Apr.t���Mayt���Junet���Julys���Aug.s���Sep.s���Oct.s���Nov.s���Dec.i���s���%s %d %d(���t���yeart���montht���day(���t���zt���monatt���jt���mR=���(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���datumX���s���� c����������C���s5��t��j����}��|��j�|��j�d�}�|��j�|�d�}�|��j�|�d�}�y��t�t���t�j ����t�j ����t�j�d���t�j�t �|����d�d�d�d��t�j�d ���t�j�t�|����d�d�d�d��t�j�d���t�t���t�j�d�|���t�j�d�|���t�j�d �|���t�t���t�t�d���Wn�t�k �r0n�Xd��S(���Ng���ư>g������N@iA���t���alignt���centert���fontt���Courieri���t���boldi����iU���i���i���id���(���RM���i���RN���(���RM���i���RN���(���R���t���todayt���secondt���microsecondt���minutet���hourt���tracert���FalseR1���t���cleart���homeR���t���writeR>���t���backRI���t���TrueR���t ���setheadingR ���R!���t���ontimert���tickt ���Terminator(���R=���t���sekundeRR���t���stunde(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyR]���`���s.���� c�����������C���s&���t��t���t����t��t���t����d�S(���Nt ���EVENTLOOP(���RT���RU���R4���RZ���R]���(����(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���mainy���s ���� t���__main__R���N(���t���__doc__t���turtleR���R ���R���R���R���R4���R>���RI���R]���Rb���t���__name__R)���t���msgt���mainloop(����(����(����s/���/usr/lib64/python2.7/Demo/turtle/tdemo_clock.pyt���<module>���s ���