6 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for vegaseat
Member Avatar for Ali_65
2
11K
Member Avatar for vegaseat

Just in time for the season, a star. (Playing with my grandson on the Raspberry Pi computer)

Member Avatar for sneekula
1
5K
Member Avatar for ddanbe

This is my first try with turtle graphics in Python. It is in fact a sort of "translation" from some old LOGO code. When you run it, this should be the result: ![dbf0a4f76975c5cc4dee5df30139f144](/attachments/small/1/dbf0a4f76975c5cc4dee5df30139f144.png "align-left") Insiders can perhaps play the "Dark side of the moon" record by Pink Floyd :) Any …

Member Avatar for ddanbe
3
2K
Member Avatar for vegaseat

Python module turtle makes it simple to draw graphics art similar to art done by the Logo language.

1
399
Member Avatar for vegaseat
Member Avatar for TrustyTony

I post here the code for histogram using the turtle graphics module, which I posted long time ago in discussion thread. For more special graphs there exist other fancier options, but this tkinter based routine can function in most standard installations of Python. Example data.txt, like mentioned in module docstring: …

0
2K

The End.