MSV FM

[email protected]: ~ $
Path : /lib64/python2.7/Demo/turtle/
File Upload :
Current < : //lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyc

�
Afc@sdZddlZddlmZmZddlmZdefd��YZd�Ze	dkr{e�Z
e
GHe�ndS(	s�      turtle-example-suite:

        tdemo_bytedesign.py

An example adapted from the example-suite
of PythonCard's turtle graphcis.

It's based on an article in BYTE magazine
Problem Solving with Logo: Using Turtle
Graphics to Redraw a Design
November 1982, p. 118 - 134

-------------------------------------------

Due to the statement

t.delay(0)

in line 152, which sets the animation delay
to 0, this animation runs in "line per line"
mode as fast as possible.
i����N(tTurtletmainloop(tclocktDesignercBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cCs�|j�xmtd�D]_}|jd|�|j�|j|j�|�|j�|jd|�|jd�qW|j�|j|�|jd�|jd|�|jd�|j�|j	d|d|�|j
t�dS(	Nig�����)P@iHi$g�8@i�i.g������a@(tuptrangetforwardtdowntwheeltpositiontbackwardtrighttgototcenterpiecettracertTrue(tselfthomePostscaleti((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pytdesign!s 







cCs�|jd�x$td�D]}|j||�qW|j�|jd�x$td�D]}|j||�qXW|jd�xWtd�D]I}|j�|jd�|jd|�|j�|jd|�q�W|jd�|j	�j
�dS(Ni6ii$iiHi(RRt	pentpieceRtleftttripieceRRR
t	getscreentupdate(RtinitposRR((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyR3s 







cCs�|j�}|j�|jd|�|jd||�|j�|j|�|j|�|j�|jd|�|jd||�|j�|j|�|j|�|jd�|j	�j
�dS(Ng@g�?@iH(theadingRR
ttripolyrRRt
setheadingttripolylRRR(RRRtoldh((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyREs








cCsM|j�}|j�|jd|�|j�x2td�D]$}|jd|�|jd�q>W|jd|d|�|j�|j|�|j|�|jd|�|j�x2td�D]$}|jd|�|jd�q�W|j	d|d|�|j�|j|�|j|�|j
d�|j�j�dS(NiiiiHiK(
RRRRRRtpentrRRtpentlRRR(RRRRR((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyRVs,









cCsM|d|krdS|j|�|j|�|j|d|||�dS(NigR���Q�?(RRR!(RtsidetangR((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyR!ns


cCsM|d|krdS|j|�|j|�|j|d|||�dS(NigR���Q�?(RRR (RR"R#R((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyR ts


cCs�|d|krdS|j|�|jd�|j|d�|jd�|j|d�|jd�|j|d|�dS(Niiog{�G�z�?g�������?i�g�?(RRR(RR"R((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyRzs



cCs�|d|krdS|j|�|jd�|j|d�|jd�|j|d�|jd�|j|d|�dS(Niiog{�G�z�?g�������?i�g�?(RRR(RR"R((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyR�s



cCsM|j|�|j|�|d|kr.dS|j|d|||�dS(Ng@g333333�?(RRR
(RtstaR((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyR
�s


(t__name__t
__module__RRRRR!R RRR
(((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyRs							
	
cCstt�}|jd�|j�|j�jd�|jd�t�}|j|j�d�t�}d||S(Niisruntime: %.2f sec.(	Rtspeedt
hideturtleRtdelayRRRR	(tttattet((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pytmain�s	


		t__main__(t__doc__tmathtturtleRRttimeRRR.R&tmsg(((s4/usr/lib64/python2.7/Demo/turtle/tdemo_bytedesign.pyt<module>su		
Bethany
Bethany
0%

THE FINEST HOTEL NEAR LAKE KIVU

The Perfect Base For You

Required fields are followed by *





EC1A68011

About Us

Delicious Interior With The Pinch Of Everything

Bethany Investment group is Presbyterian church in Rwanda(EPR) company that manage Hotel and Guest house in Karongi (Bethany Hotel), ISANO branch in GIKONDO(Kigali), Kiyovu branch(Kigali), AMIZERO branch(Nyagatare-East) and Gisenyi Branch(Rubavu).

Accomodation

Get a Comfortable Room
Feel The Comfort

Get a comfortable room and feel our hotel’s comfort. Bethany Hotel features a variety of fully furnished rooms with extra space, Executive rooms, Deluxe rooms with a beautiful lake view and garden space, Deluxe rooms, comfort rooms, family rooms and standard rooms at your service.

Standard Single

Services

We Provide Top Class Facility
Especially For You

Beach BBQ Party

Kick back on the beach& and enjoy our berbecue from our masterchef

Breakfast

Kick back at our hotels& enjoy our breakfast from our masterchef

Conference Hall

Kick back at our hotels& enjoy our conference halls from all bethany branches

Enjoy with your partner

Honeymoon Package

80%

Get In Touch

Don’t Miss Any Update

    +

    Search your Room

    Required fields are followed by *