Update of /cvsroot/pythoncard/PythonCard/samples/turtle/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25454/samples/turtle/scripts
Modified Files:
coordinates.py pentests.py spingon.py
Log Message:
replaced tabs with spaces
Index: pentests.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/turtle/scripts/pentests.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pentests.py 11 May 2004 01:12:51 -0000 1.1
--- pentests.py 8 Aug 2004 18:07:45 -0000 1.2
***************
*** 13,17 ****
t1 = Turtle(canvas)
! t1.setBackColor('black') # background is shared among all turtles
t1.color('red')
t1.showTurtle()
--- 13,18 ----
t1 = Turtle(canvas)
! # background is shared among all turtles
! t1.setBackColor('black')
t1.color('red')
t1.showTurtle()
***************
*** 45,50 ****
for i in range(6):
[t.fd(80) for t in tList]
! #for j in range(1000000): pass # huge delay so we can see the turtle
[t.rt(60) for t in tList]
! #for j in range(1000000): pass # huge delay so we can see the turtle
--- 46,53 ----
for i in range(6):
[t.fd(80) for t in tList]
! # huge delay so we can see the turtle
! #for j in range(1000000): pass
[t.rt(60) for t in tList]
! # huge delay so we can see the turtle
! #for j in range(1000000): pass
Index: spingon.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/turtle/scripts/spingon.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** spingon.py 11 May 2004 01:12:51 -0000 1.1
--- spingon.py 8 Aug 2004 18:07:45 -0000 1.2
***************
*** 87,92 ****
"""
! t.color(0, 0, 0) # same as t.color('black')
! t.color(50, 100, 200) # any r, g, b values between 0 - 255 are valid
""""""
--- 87,94 ----
"""
! # same as t.color('black')
! t.color(0, 0, 0)
! # any r, g, b values between 0 - 255 are valid
! t.color(50, 100, 200)
""""""
Index: coordinates.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/turtle/scripts/coordinates.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** coordinates.py 11 May 2004 01:12:51 -0000 1.1
--- coordinates.py 8 Aug 2004 18:07:44 -0000 1.2
***************
*** 42,46 ****
t.lt(i)
t.fd(i * 2)
! #print t._angle # change this to write on screen, DrawText or something
t.write("%d" % t._angle)
t.bk(i * 2)
--- 42,47 ----
t.lt(i)
t.fd(i * 2)
! #print t._angle
! # change this to write on screen, DrawText or something
t.write("%d" % t._angle)
t.bk(i * 2)
|