Server IP : 184.154.167.98 / Your IP : 18.119.133.214 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/Demo/turtle/ |
Upload File : |
� ��^c @ sO d Z d d l m Z m Z m Z d � Z e d k rK e � e j � n d S( s� turtledemo.two_canvases Use TurtleScreen and RawTurtle to draw on two distinct canvases in a separate windows. The new window must be separately closed in addition to pressing the STOP button. i����( t TurtleScreent RawTurtlet TKc C s� t j � } t j | d d d d d d �} t j | d d d d d d �} | j � | j � t | � } | j d d d � t | � } | j d d d � t | � } t | � } | j d d � | j d � | j d d � | j d � x. | | f D] } | j d � | j d � q� W| j d � x | | f D] } | j � q=WxE t d � D]7 } x. | | f D] } | j d � | j d � qqWq^WxB | | f D]4 } | j � | j d � | j � | j d � q�Wd S( Nt widthi, t heighti� t bgs #ddffffs #ffeeeeg333333�?i t redi t bluet turtlei$ i� i i2 iH i6 t EVENTLOOP( i g333333�?g333333�?( g333333�?g333333�?i ( R t Tkt Canvast packR t bgcolorR t colorR t shapet ltt begin_fillt ranget fdt end_fillt put bk( t roott cv1t cv2t s1t s2t pt qt tt i( ( s6 /usr/lib64/python2.7/Demo/turtle/tdemo_two_canvases.pyt main s>