"Test-driven development (TDD) is a process that has been documented considerably over recent years. A process of baking your tests right into your everyday coding, as opposed to a nagging afterthought, should be something that developers seek to make the norm, rather than some ideal fantasy."
"Turtle Graphics in Python
Documentation on Turtle Graphics: This is the ultimate source for all information on this library.
Comprehensive List of Colors
List of Programs in Turtle Graphics
# File: Hello.py
# Description: This program writes out Hello World
import turtle
def main():
# put label on top of page
turtle.title ('Hello World')
# setup screen size
turtle.setup (1000, 1000, 0, 0)
# move turtle to origin
turtle.penup()
turtle.goto (0, 0)
# set the color to navy
turtle.color ('navy')
# write the message
turtle.write ('Hello World!', font = ('Times New Roman', 36, 'bold'))
# hide the turtle
turtle.hideturtle()
# persist the drawing
turtle.done()
main()
# File: Squares.py
# Description: Draws squares of different sizes
import turtle
# draw a square of a given side
# starting at uuper left corner (x, y)
def drawSquare (ttl, x, y, side):
ttl.penup()
ttl.goto(x, y)
ttl.setheading(0) # set the pen in the +ve x direction
ttl.pendown()
for iter in range (4):
ttl.forward(side)
ttl.right(90)
ttl.penup()
def main():
# put label on top of page
turtle.title ('Squares')
# setup screen size
turtle.setup (800, 800, 0, 0)
# create a turtle object
ttl = turtle.Turtle()
# assign a color to the turtle object
ttl.color ('red')
# draw multiple squares
drawSquare (ttl, -50, -50, 50)
drawSquare (ttl, 0, 0, 50)
drawSquare (ttl, 50, 50, 50)
drawSquare (ttl, -50, 50, 150)
# fill a closed region
ttl.fillcolor ('purple')
ttl.begin_fill()
drawSquare (ttl, 0, 0, 50)
ttl.end_fill()
# persist drawing
turtle.done()
main()
# File: Figures.py
# Description: Draws various types of geometric figures
import turtle, math
# draw a line from (x1, y1) to (x2, y2)
def drawLine (ttl, x1, y1, x2, y2):
ttl.penup()
ttl.goto (x1, y1)
ttl.pendown()
ttl.goto (x2, y2)
ttl.penup()
def drawPolygon (ttl, x, y, num_side, radius):
sideLen = 2 * radius * math.sin (math.pi / num_s
"Apereo Foundation 2013
Association Francophone des Utilisateurs de Logiciels Libres 2012
CENATIC 2012
Creative Commons 2012
Debian 2012
The Document Foundation 2012
Drupal Association 2012
Eclipse Foundation 2012
FreeBSD Foundation 2012
Friends of OpenDocument 2012
Joomla (Open Source Matters, Inc.) 2012
KDE eV 2012
Linux Foundation 2012
Linux Fund 2012
MariaDB Foundation 2013
Mozilla Foundation 2012
The New Zealand Open Source Society 2012
Open Source Software Institute 2012
Open Source Sweden 2012
Outercurve Foundation 2012
OW2 2012
Plone Foundation 2012
Python Software Foundation 2012
Sahana Software Foundation 2012
SOUJava 2012
Tiki Software Community Association 2012
Wikimedia Foundation 2012
Wikiotics 2012
"
"Hello, everyone! I'm name, organizer of this Python user group.
Thanks for coming to the project night. We have wifi here, and food and drinks that you can take; thanks to sponsor name for making that possible.
We're excited about having people of all experience levels in Python here today, and to support them, we have a few people who are excited about helping beginners. Can I get those people to stand up?
We've labeled a table as the "Beginner's corner," so if you specially want mentorship today, go visit there and say hi to the person next to you, and talk with one of the lovely people who want to help you have a great time with Python.
I'll be here all evening, so if you need anything else, just ask me. Thanks to all of you for coming!"
"Turtle graphics is a popular way for introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966."
\"', 'tags':'internet,league,defense,code,widget',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':4387586, 'group_id':1948272, 'link_id':129084986, 'g_l_id':'1948272-129084986', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"\<script type=\"text/javascript\"\>\\n window._idl = {};\\n _idl.variant = \"banner\";\\n (function() {\\n var idl = document.createElement(\'script\');\\n idl.type = \'text/javascript\';\\n idl.async = true;\\n idl.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'members.internetdefenseleague.org/include/?url=\' + (_idl.url || \'\') + \'&campaign=\' + (_idl.campaign || \'\') + \'&variant=\' + (_idl.variant || \'banner\');\\n document.getElementsByTagName(\'body\')[0].appendChild(idl);\\n })();\\n\</script\>\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':8341619, 'obj_type':1, 'obj_id':144604641, 'index':1, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':144604641, 'g_l_id':'1948272-144604641', 'url':'https://www.django-cms.org/en/documentation/', 'title':'Documentation - django-cms.org', 'desc':'', 'tags':'cms,Django,python,django-cms,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':11490204, 'obj_type':1, 'obj_id':120737992, 'index':2, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':120737992, 'g_l_id':'1948272-120737992', 'url':'http://docs.stackato.com', 'title':'Stackato Documentation - Stackato 3.0.1 documentation', 'desc':'', 'tags':'documentation,python,Paas,VM',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':8664043, 'obj_type':1, 'obj_id':154807098, 'index':3, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':154807098, 'g_l_id':'1948272-154807098', 'url':'http://net.tutsplus.com/tutorials/python-tutorials/test-driven-development-in-python/', 'title':'Beginning Test-Driven Development in Python | Nettuts+', 'desc':'\"Test-driven development (TDD) is a process that has been documented considerably over recent years. A process of baking your tests right into your everyday coding, as opposed to a nagging afterthought, should be something that developers seek to make the norm, rather than some ideal fantasy.\"', 'tags':'python,programming,test-driven,TDD',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':3341046, 'group_id':1948272, 'link_id':154807098, 'g_l_id':'1948272-154807098', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"Test-driven development (TDD) is a process that has been documented considerably over recent years. A process of baking your tests right into your everyday coding, as opposed to a nagging afterthought, should be something that developers seek to make the norm, rather than some ideal fantasy.\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':14848228, 'obj_type':1, 'obj_id':307557198, 'index':4, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':307557198, 'g_l_id':'1948272-307557198', 'url':'http://www.cs.utexas.edu/users/mitra/csSpring2016/cs313/lectures/turtle.html', 'title':'Turtle Graphics', 'desc':'\"Turtle Graphics in Python\\n\\nDocumentation on Turtle Graphics: This is the ultimate source for all information on this library.\\n\\nComprehensive List of Colors\\n\\nList of Programs in Turtle Graphics\\n\\n# File: Hello.py\\n\\n# Description: This program writes out Hello World\\n\\nimport turtle\\n\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Hello World\')\\n\\n # setup screen size\\n turtle.setup (1000, 1000, 0, 0)\\n \\n # move turtle to origin\\n turtle.penup()\\n turtle.goto (0, 0)\\n\\n # set the color to navy\\n turtle.color (\'navy\')\\n\\n # write the message\\n turtle.write (\'Hello World!\', font = (\'Times New Roman\', 36, \'bold\'))\\n\\n # hide the turtle\\n turtle.hideturtle()\\n\\n # persist the drawing\\n turtle.done()\\n\\nmain()\\n\\n \\n# File: Squares.py\\n\\n# Description: Draws squares of different sizes\\n\\nimport turtle\\n\\n# draw a square of a given side \\n# starting at uuper left corner (x, y)\\ndef drawSquare (ttl, x, y, side):\\n ttl.penup()\\n ttl.goto(x, y)\\n ttl.setheading(0) # set the pen in the +ve x direction\\n ttl.pendown()\\n for iter in range (4):\\n ttl.forward(side)\\n ttl.right(90)\\n ttl.penup()\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Squares\')\\n\\n # setup screen size\\n turtle.setup (800, 800, 0, 0)\\n\\n # create a turtle object\\n ttl = turtle.Turtle()\\n\\n # assign a color to the turtle object\\n ttl.color (\'red\')\\n\\n # draw multiple squares\\n drawSquare (ttl, -50, -50, 50)\\n drawSquare (ttl, 0, 0, 50)\\n drawSquare (ttl, 50, 50, 50)\\n drawSquare (ttl, -50, 50, 150)\\n\\n # fill a closed region\\n ttl.fillcolor (\'purple\')\\n ttl.begin_fill()\\n drawSquare (ttl, 0, 0, 50)\\n ttl.end_fill()\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\\n# File: Figures.py\\n\\n# Description: Draws various types of geometric figures\\n\\nimport turtle, math\\n\\n# draw a line from (x1, y1) to (x2, y2)\\ndef drawLine (ttl, x1, y1, x2, y2):\\n ttl.penup()\\n ttl.goto (x1, y1)\\n ttl.pendown()\\n ttl.goto (x2, y2)\\n ttl.penup()\\n\\ndef drawPolygon (ttl, x, y, num_side, radius):\\n sideLen = 2 * radius * math.sin (math.pi / num_side)\\n angle = 360 / num_side\\n ttl.penup()\\n ttl.goto (x, y)\\n ttl.pendown()\\n for iter in range (num_side):\\n ttl.forward (sideLen)\\n ttl.left (angle)\\n \\ndef main():\\n # put label on top of page\\n turtle.title (\'Geometric Figures\')\\n\\n # setup screen size\\n turtle.setup (800, 800, 0, 0)\\n\\n # create a turtle object\\n ttl = turtle.Turtle()\\n\\n # draw equilateral triangle\\n ttl.color (\'blue\')\\n drawPolygon (ttl, -200, 0, 3, 50)\\n\\n # draw square\\n ttl.color (\'red\')\\n drawPolygon (ttl, -50, 0, 4, 50)\\n\\n # draw pentagon\\n ttl.color (\'forest green\')\\n drawPolygon (ttl, 100, 0, 5, 50)\\n\\n # draw octagon\\n ttl.color (\'DarkOrchid4\')\\n drawPolygon (ttl, 250, 0, 8, 50)\\n\\n # draw a line\\n ttl.color (\'gold4\')\\n drawLine (ttl, -200, -10, 325, -10)\\n drawLine (ttl, -200, -15, 325, -15)\\n\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\\n\\n# File: ColorShapes.py\\n\\n# Description: Draws filled in shapes\\n\\nimport turtle\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Colorful Shapes\')\\n\\n # setup screen size\\n turtle.setup (800, 800, 0, 0)\\n\\n # draw a triangle\\n turtle.pensize(3)\\n turtle.penup()\\n turtle.goto (-200, -50)\\n turtle.pendown()\\n turtle.begin_fill()\\n turtle.color (\'red\')\\n turtle.circle (40, steps = 3)\\n turtle.end_fill()\\n\\n # draw a square\\n turtle.penup()\\n turtle.goto (-100, -50)\\n turtle.pendown()\\n turtle.begin_fill()\\n turtle.color (\'navy\')\\n turtle.circle (40, steps = 4)\\n turtle.end_fill()\\n\\n # draw a pentagon\\n turtle.penup()\\n turtle.goto (0, -50)\\n turtle.pendown()\\n turtle.begin_fill()\\n turtle.color (\'green\')\\n turtle.circle (40, steps = 5)\\n turtle.end_fill()\\n\\n # draw a hexagon\\n turtle.penup()\\n turtle.goto (100, -50)\\n turtle.pendown()\\n turtle.begin_fill()\\n turtle.color (\'yellow\')\\n turtle.circle (40, steps = 6)\\n turtle.end_fill()\\n\\n # draw a circle\\n turtle.penup()\\n turtle.goto (200, -50)\\n turtle.pendown()\\n turtle.begin_fill()\\n turtle.color (\'purple\')\\n turtle.circle (40)\\n turtle.end_fill()\\n\\n # write header\\n turtle.penup()\\n turtle.goto (-100, 50)\\n turtle.write (\'Cool Colorful Shapes\', font = (\'Times\', 18, \'bold\'))\\n\\n # hide turtle\\n turtle.hideturtle()\\n\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\\n# File: Func.py\\n\\n# Description: Draws users defined functions\\n\\nimport math, turtle\\n\\n# draw a line from (x1, y1) to (x2, y2)\\ndef drawLine (ttl, x1, y1, x2, y2):\\n ttl.penup()\\n ttl.goto (x1, y1)\\n ttl.pendown()\\n ttl.goto (x2, y2)\\n ttl.penup()\\n\\n# write label at location x, y\\ndef labelPoint (ttl, x, y, label):\\n ttl.penup()\\n ttl.goto (x, y)\\n ttl.pendown()\\n ttl.write (label)\\n ttl.penup()\\n\\ndef drawGridMark (ttl, x, y, isVertical):\\n if isVertical :\\n drawLine (ttl, x, y + 5, x, y - 5)\\n else:\\n drawLine (ttl, x - 5, y, x + 5, y)\\n\\ndef labelGridPoint (ttl, x, y, isVertical, text):\\n if isVertical:\\n labelPoint (ttl, x - 20, y - 20, text)\\n else:\\n labelPoint (ttl, x + 20, y, text)\\n\\ndef drawGridScaled (ttl):\\n # draw the axes\\n drawLine (ttl, -400, 0, 400, 0)\\n drawLine (ttl, 0, 400, 0, -400)\\n\\n # label the x axis\\n for x in [-300, -200, -100, 100, 200, 300]:\\n drawGridMark (ttl, x, 0, True)\\n labelGridPoint (ttl, x, 0, True, (x/100, 0))\\n\\n # label the y axis\\n for y in [-300, -200, -100, 100, 200, 300]:\\n drawGridMark (ttl, 0, y, False)\\n labelGridPoint (ttl, 0, y, False, (0, y/100))\\n\\ndef drawFnScaled (ttl, fn, lower, upper, step):\\n ttl.penup()\\n x = lower\\n y = fn (x)\\n scaledX = x * 100\\n scaledY = y * 100\\n ttl.goto (scaledX, scaledY)\\n ttl.pendown()\\n while x \< upper:\\n x = x + step\\n y = fn ( x )\\n scaledX, scaledY = x * 100, y * 100\\n ttl.goto (scaledX, scaledY)\\n ttl.penup()\\n\\ndef myFunc (x):\\n return (x ** 2 - 4)\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Graphs of Functions\')\\n\\n # setup screen size\\n turtle.setup (800, 800, 0, 0)\\n\\n # create a turtle object\\n ttl = turtle.Turtle()\\n\\n # draw the grid\\n drawGridScaled (ttl)\\n\\n # draw sine finction\\n ttl.pencolor (\'red\')\\n drawFnScaled (ttl, math.sin, -math.pi, math.pi, 0.01)\\n\\n # draw cosine function\\n ttl.pencolor (\'blue\')\\n drawFnScaled (ttl, math.cos, -math.pi, math.pi, 0.01)\\n\\n # draw my function\\n ttl.pencolor (\'purple\')\\n drawFnScaled (ttl, myFunc, -math.pi, math.pi, 0.01)\\n\\n # persist drawing\\n turtle.done()\\n\\n\\nmain()\\n\\n# File: RandomWalk.py\\n\\n# Description: Draws a grid and exhibits a random walk\\n\\nimport turtle, random\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Random Walk\')\\n\\n # setup screen size\\n turtle.setup (1000, 1000, 0, 0)\\n\\n # set turtle speed\\n #turtle.speed (1)\\n\\n # draw 16 x 16 lattice\\n turtle.color (\'gray\')\\n \\n # draw horizontal lines\\n x = -80\\n for y in range (-80, 80 + 1, 10):\\n turtle.penup()\\n turtle.goto (x, y)\\n turtle.pendown()\\n turtle.forward (160)\\n\\n # draw vertical lines\\n y = 80\\n turtle.right (90)\\n for x in range (-80, 80 + 1, 10):\\n turtle.penup()\\n turtle.goto (x, y)\\n turtle.pendown()\\n turtle.forward (160)\\n\\n # start random walk\\n turtle.pensize(3)\\n turtle.color (\'red\')\\n \\n turtle.penup()\\n turtle.goto(0, 0)\\n turtle.pendown()\\n\\n x = y = 0\\n while (abs(x) \< 80 and abs(y) \< 80):\\n r = random.randint(0, 3)\\n if r == 0:\\n x += 10\\n turtle.setheading(0)\\n turtle.forward(10) \\n elif r == 1:\\n y -= 10\\n turtle.setheading(270)\\n turtle.forward(10) \\n elif r == 2:\\n x -= 10\\n turtle.setheading(180)\\n turtle.forward(10) \\n elif r == 3:\\n y += 10\\n turtle.setheading(90)\\n turtle.forward(10) \\n\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\\n\\n# File: Sierpinski.py\\n\\n# Description: Draws Sierpinski\'s Curve or Gasket\\n\\nimport math, turtle\\n\\ndef drawGasket (ttl, size):\\n if size \< 10:\\n return\\n for iter in range (3):\\n ttl.forward (size / 2)\\n insertGasket (ttl, size)\\n ttl.forward (size / 2)\\n ttl.right (120)\\n\\ndef insertGasket (ttl, size):\\n ttl.left (120)\\n drawGasket (ttl, size / 2)\\n ttl.right (120)\\n\\ndef oneSide (ttl, s, diag, level):\\n if (level == 0):\\n return\\n else:\\n oneSide (ttl, s, diag, level - 1)\\n ttl.right (45); ttl.forward (diag); ttl.right (45)\\n oneSide (ttl, s, diag, level - 1)\\n ttl.left (90); ttl.forward (s); ttl.left (90)\\n oneSide (ttl, s, diag, level - 1)\\n ttl.right (45); ttl.forward (diag); ttl.right (45)\\n oneSide (ttl, s, diag, level - 1)\\n\\ndef curve (ttl, s, level):\\n diag = s / math.sqrt (2)\\n for iter in range (4):\\n oneSide (ttl, s, diag, level)\\n ttl.right (45)\\n ttl.forward (diag)\\n ttl.right (45)\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Recursive Figures\')\\n\\n # setup screen size\\n turtle.setup (1000, 1000, 0, 0)\\n\\n # create a turtle object\\n ttl = turtle.Turtle()\\n\\n # draw the sierpinski curve\\n # curve (ttl, 15, 3)\\n\\n # draw gasket\\n drawGasket (ttl, 200)\\n\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\\n# File: Sun.py\\n\\n# Description: Draws recursively a sun like figure\\n\\nimport math, turtle\\n\\ndef drawArcR (ttl, size, degrees):\\n for iter in range (degrees):\\n ttl.forward (size)\\n ttl.right (1)\\n\\ndef drawArcL (ttl, size, degrees):\\n for iter in range (degrees):\\n ttl.forward (size)\\n ttl.left (1)\\n\\ndef drawRay (ttl, size):\\n for iter in range (2):\\n drawArcR (ttl, size, 90)\\n drawArcL (ttl, size, 90)\\n\\ndef drawSun (ttl, size, color):\\n ttl.fillcolor (color)\\n ttl.begin_fill ()\\n for iter in range (9):\\n drawRay (ttl, size)\\n ttl.right (160)\\n ttl.end_fill ()\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Sun Figure\')\\n\\n # setup screen size\\n turtle.setup (1000, 1000, 0, 0)\\n\\n # create a turtle object\\n ttl = turtle.Turtle()\\n\\n # draw the sun figure\\n drawSun (ttl, 1, \'red\')\\n\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\"', 'tags':'turtle,graphics',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':6455347, 'group_id':1948272, 'link_id':307557198, 'g_l_id':'1948272-307557198', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"Turtle Graphics in Python\\n\\nDocumentation on Turtle Graphics: This is the ultimate source for all information on this library.\\n\\nComprehensive List of Colors\\n\\nList of Programs in Turtle Graphics\\n\\n# File: Hello.py\\n\\n# Description: This program writes out Hello World\\n\\nimport turtle\\n\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Hello World\')\\n\\n # setup screen size\\n turtle.setup (1000, 1000, 0, 0)\\n \\n # move turtle to origin\\n turtle.penup()\\n turtle.goto (0, 0)\\n\\n # set the color to navy\\n turtle.color (\'navy\')\\n\\n # write the message\\n turtle.write (\'Hello World!\', font = (\'Times New Roman\', 36, \'bold\'))\\n\\n # hide the turtle\\n turtle.hideturtle()\\n\\n # persist the drawing\\n turtle.done()\\n\\nmain()\\n\\n \\n# File: Squares.py\\n\\n# Description: Draws squares of different sizes\\n\\nimport turtle\\n\\n# draw a square of a given side \\n# starting at uuper left corner (x, y)\\ndef drawSquare (ttl, x, y, side):\\n ttl.penup()\\n ttl.goto(x, y)\\n ttl.setheading(0) # set the pen in the +ve x direction\\n ttl.pendown()\\n for iter in range (4):\\n ttl.forward(side)\\n ttl.right(90)\\n ttl.penup()\\n\\ndef main():\\n # put label on top of page\\n turtle.title (\'Squares\')\\n\\n # setup screen size\\n turtle.setup (800, 800, 0, 0)\\n\\n # create a turtle object\\n ttl = turtle.Turtle()\\n\\n # assign a color to the turtle object\\n ttl.color (\'red\')\\n\\n # draw multiple squares\\n drawSquare (ttl, -50, -50, 50)\\n drawSquare (ttl, 0, 0, 50)\\n drawSquare (ttl, 50, 50, 50)\\n drawSquare (ttl, -50, 50, 150)\\n\\n # fill a closed region\\n ttl.fillcolor (\'purple\')\\n ttl.begin_fill()\\n drawSquare (ttl, 0, 0, 50)\\n ttl.end_fill()\\n # persist drawing\\n turtle.done()\\n\\nmain()\\n\\n# File: Figures.py\\n\\n# Description: Draws various types of geometric figures\\n\\nimport turtle, math\\n\\n# draw a line from (x1, y1) to (x2, y2)\\ndef drawLine (ttl, x1, y1, x2, y2):\\n ttl.penup()\\n ttl.goto (x1, y1)\\n ttl.pendown()\\n ttl.goto (x2, y2)\\n ttl.penup()\\n\\ndef drawPolygon (ttl, x, y, num_side, radius):\\n sideLen = 2 * radius * math.sin (math.pi / num_s'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':11617952, 'obj_type':1, 'obj_id':137633777, 'index':5, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':137633777, 'g_l_id':'1948272-137633777', 'url':'http://opensource.org/affiliates/list', 'title':'List of OSI Affiliates | Open Source Initiative', 'desc':'\"Apereo Foundation 2013\\nAssociation Francophone des Utilisateurs de Logiciels Libres 2012\\nCENATIC 2012\\nCreative Commons 2012\\nDebian 2012\\nThe Document Foundation 2012\\nDrupal Association 2012\\nEclipse Foundation 2012\\nFreeBSD Foundation 2012\\nFriends of OpenDocument 2012\\nJoomla (Open Source Matters, Inc.) 2012\\nKDE eV 2012\\nLinux Foundation 2012\\nLinux Fund 2012\\nMariaDB Foundation 2013\\nMozilla Foundation 2012\\nThe New Zealand Open Source Society 2012\\nOpen Source Software Institute 2012\\nOpen Source Sweden 2012\\nOutercurve Foundation 2012\\nOW2 2012\\nPlone Foundation 2012\\nPython Software Foundation 2012\\nSahana Software Foundation 2012\\nSOUJava 2012\\nTiki Software Community Association 2012\\nWikimedia Foundation 2012\\nWikiotics 2012\\n\"', 'tags':'list,affiliates,open source,initiative',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':4460135, 'group_id':1948272, 'link_id':137633777, 'g_l_id':'1948272-137633777', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"Apereo Foundation 2013\\nAssociation Francophone des Utilisateurs de Logiciels Libres 2012\\nCENATIC 2012\\nCreative Commons 2012\\nDebian 2012\\nThe Document Foundation 2012\\nDrupal Association 2012\\nEclipse Foundation 2012\\nFreeBSD Foundation 2012\\nFriends of OpenDocument 2012\\nJoomla (Open Source Matters, Inc.) 2012\\nKDE eV 2012\\nLinux Foundation 2012\\nLinux Fund 2012\\nMariaDB Foundation 2013\\nMozilla Foundation 2012\\nThe New Zealand Open Source Society 2012\\nOpen Source Software Institute 2012\\nOpen Source Sweden 2012\\nOutercurve Foundation 2012\\nOW2 2012\\nPlone Foundation 2012\\nPython Software Foundation 2012\\nSahana Software Foundation 2012\\nSOUJava 2012\\nTiki Software Community Association 2012\\nWikimedia Foundation 2012\\nWikiotics 2012\\n\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':12019431, 'obj_type':1, 'obj_id':206422885, 'index':6, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':206422885, 'g_l_id':'1948272-206422885', 'url':'http://user-groups-beta.openhatch.org', 'title':'A Guide to Running a Python User Group - Python User Group Guide 0.1 documentation', 'desc':'\"Hello, everyone! I\'m name, organizer of this Python user group.\\n\\nThanks for coming to the project night. We have wifi here, and food and drinks that you can take; thanks to sponsor name for making that possible.\\n\\nWe\'re excited about having people of all experience levels in Python here today, and to support them, we have a few people who are excited about helping beginners. Can I get those people to stand up?\\n\\nWe\'ve labeled a table as the \"Beginner\'s corner,\" so if you specially want mentorship today, go visit there and say hi to the person next to you, and talk with one of the lovely people who want to help you have a great time with Python.\\n\\nI\'ll be here all evening, so if you need anything else, just ask me. Thanks to all of you for coming!\"', 'tags':'guide,running,python,user,group,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':4684811, 'group_id':1948272, 'link_id':206422885, 'g_l_id':'1948272-206422885', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"Hello, everyone! I\'m name, organizer of this Python user group.\\n\\nThanks for coming to the project night. We have wifi here, and food and drinks that you can take; thanks to sponsor name for making that possible.\\n\\nWe\'re excited about having people of all experience levels in Python here today, and to support them, we have a few people who are excited about helping beginners. Can I get those people to stand up?\\n\\nWe\'ve labeled a table as the \"Beginner\'s corner,\" so if you specially want mentorship today, go visit there and say hi to the person next to you, and talk with one of the lovely people who want to help you have a great time with Python.\\n\\nI\'ll be here all evening, so if you need anything else, just ask me. Thanks to all of you for coming!\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':12399436, 'obj_type':1, 'obj_id':146120778, 'index':7, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':146120778, 'g_l_id':'1948272-146120778', 'url':'http://gitscc.codeplex.com/wikipage?title=Create%20Git%20Repository&referringTitle=Documentation', 'title':'Git Source Control Provider - Documentation', 'desc':'', 'tags':'git,source,control,visual,studio',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':11387061, 'obj_type':1, 'obj_id':192395447, 'index':8, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':192395447, 'g_l_id':'1948272-192395447', 'url':'https://w2.eff.org/legal/cases/SJG/?f=eff_creation.html', 'title':'EFF: Formation documents and mission statement for the EFF', 'desc':'', 'tags':'EFF,about,formation,documents,mission,statement',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':4355703, 'group_id':1948272, 'link_id':192395447, 'g_l_id':'1948272-192395447', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"civilize the electronic frontier\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':12912726, 'obj_type':1, 'obj_id':207169620, 'index':9, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':207169620, 'g_l_id':'1948272-207169620', 'url':'http://matplotlib.org/1.3.1/api/pyplot_api.html', 'title':'pyplot - Matplotlib 1.3.1 documentation', 'desc':'\"matplotlib.pyplot\"', 'tags':'python,documentation,pyplot,examples',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':5204433, 'group_id':1948272, 'link_id':207169620, 'g_l_id':'1948272-207169620', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"matplotlib.pyplot\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':12586460, 'obj_type':1, 'obj_id':206507268, 'index':10, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':206507268, 'g_l_id':'1948272-206507268', 'url':'https://docs.python.org/2/library/turtle.html', 'title':'24.5. turtle - Turtle graphics for Tk - Python v2.7.8 documentation', 'desc':'\"Turtle graphics is a popular way for introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966.\"', 'tags':'turtle,graphics,python,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':5006937, 'group_id':1948272, 'link_id':206507268, 'g_l_id':'1948272-206507268', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"Turtle graphics is a popular way for introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966.\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':12696540, 'obj_type':1, 'obj_id':227613528, 'index':11, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':227613528, 'g_l_id':'1948272-227613528', 'url':'https://civicrm.org/go/books', 'title':'CiviCRM Documentation | CiviCRM', 'desc':'', 'tags':'civic,crm,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':12427329, 'obj_type':1, 'obj_id':187260836, 'index':12, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':187260836, 'g_l_id':'1948272-187260836', 'url':'https://docs.djangoproject.com/en/1.6/intro/overview/', 'title':'Django at a glance | Django documentation | Django', 'desc':'', 'tags':'django,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':12427306, 'obj_type':1, 'obj_id':192823488, 'index':13, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':192823488, 'g_l_id':'1948272-192823488', 'url':'https://docs.djangoproject.com/en/1.6/intro/reusable-apps/', 'title':'Advanced tutorial: How to write reusable apps | Django documentation | Django', 'desc':'', 'tags':'tutorial,how to,reusable,apps,django,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':14699754, 'obj_type':1, 'obj_id':142372171, 'index':14, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':142372171, 'g_l_id':'1948272-142372171', 'url':'http://dev.bitly.com/get_started.html', 'title':'Bitly API Documentation', 'desc':'', 'tags':'api,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':9224106, 'obj_type':1, 'obj_id':161105814, 'index':15, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':161105814, 'g_l_id':'1948272-161105814', 'url':'https://docs.google.com/document/d/1-sFaLrSaQ0u384Vmtp4y3jmCWOIpVDa0B-Q53y2xFz8/edit', 'title':'meeting_2013-04-09_prPIG - Google Drive', 'desc':'', 'tags':'prpig,meeting,minutes,april,2013',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':8426823, 'obj_type':1, 'obj_id':6399977, 'index':16, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':6399977, 'g_l_id':'1948272-6399977', 'url':'http://pypi.python.org/pypi/setuptools', 'title':'setuptools 0.6c11 : Python Package Index', 'desc':'', 'tags':'setup,python,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':11609509, 'obj_type':1, 'obj_id':197426478, 'index':17, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':197426478, 'g_l_id':'1948272-197426478', 'url':'http://sourceforge.net/blog/announcements-puerto-rico-pig-apachecon-na-cloudstack-pycon/', 'title':'Announcements: Puerto Rico PIG, ApacheCon NA, CloudStack, & PyCon | SourceForge Community Blog', 'desc':'', 'tags':'announcements,puerto,rico,pig,sourceforge,collboration,documentation',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
var b = {'item_id':11847797, 'obj_type':1, 'obj_id':173665450, 'index':18, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':173665450, 'g_l_id':'1948272-173665450', 'url':'https://code.google.com/p/nosqlite/', 'title':'nosqlite - A lightweight zeroconf noSQL document-oriented forking Python SQLite networked authenticated XMLRPC database server - Google Project Hosting', 'desc':'\"from nosqlite import client, server\"', 'tags':'nosql,python,sqlite',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':1, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
var p_c = {'id':4589319, 'group_id':1948272, 'link_id':173665450, 'g_l_id':'1948272-173665450', 'user_id':1697994, 'user_name':'transmedia', 'user_real_name':'Kevin Shockey', 'content':'\"from nosqlite import client, server\"'}
b.page_comments.push(p_c)
_items.push(b);
var b = {'item_id':11436469, 'obj_type':1, 'obj_id':193776579, 'index':19, 'checked':false,
'group_id':1948272, 'g_name':'pr_pig', 'link_id':193776579, 'g_l_id':'1948272-193776579', 'url':'http://docs.python.org/2/howto/advocacy.html', 'title':'Python Advocacy HOWTO - Python v2.7.4 documentation', 'desc':'', 'tags':'python,advocacy,why,sell,selling',
'first_user_id':1697994, 'first_user_name':'transmedia', 'first_user_real_name':'Kevin Shockey', 'last_user_id':1697994, 'last_user_name':'transmedia', 'last_user_real_name':'Kevin Shockey',
'user_count':1, 'p_c_count':0, 'ann_count':0, 'i_c_count':0, 'page_comments':[],'annotations':[]}
_items.push(b);
window.addOnLoadListener(function(){new ContextMenu("leftColumn",{eventType:"click",backgroundColor:'#E0EDFE',color:'#000'})});
window.addOnLoadListener(function(){new AvatarPopup()});