This shows you the differences between two versions of the page.
— |
wiki:python [2011/03/16 12:25] (current) magisterludi created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Python ===== | ||
+ | **Python** is an interpreted programming language. | ||
+ | |||
+ | ==== The Zen of Python ==== | ||
+ | Programming in Python is built around a collection of mantras known as the [[http://www.python.org/dev/peps/pep-0020/|Zen of Python]] as channeled by Tim Peters. | ||
+ | |||
+ | ==== Versions ==== | ||
+ | |||
+ | === Python 2 === | ||
+ | Python was created by [[wp>Guido van Rossum]] in 1989. | ||
+ | Since then it has continually evolved into Python 2.7. | ||
+ | All versions of Python were backwards compatible, but they increasingly violated the mantra that | ||
+ | "There should be one -- and preferably only one -- obvious way to do it". | ||
+ | |||
+ | === Python 3 === | ||
+ | In 2008 Python 3.0 came to the rescue, doing away with some historical ballast, at the cost of compatibility with | ||
+ | prior versions of Python. | ||
+ | |||
+ | ==== Software ==== | ||
+ | |||
+ | === knitting_machine === | ||
+ | The //knitting_machine// repository of Limor Fried (aka [[blf#lady_ada|Adafruit]]) contains a set of python commandline tools to control [[wiki:brother#electronic_machines|brother knitting machines]]. | ||
+ | It is based on Python scripts developed by Steve Conklin, and reverse engineering efforts spearheaded by John R. Hogerhuis. | ||
+ | |||
+ | ==== Projects ==== | ||
+ | |||
+ | === Multithreaded banjo dinosaur knitting adventure 2D Extreme === | ||
+ | Travis Goodspeed and friends created a 2D adventure game, that knits a continuous banner of winner trophies. | ||
+ | They also created a [[hardware_hack#keypad_hack|hardware hack]] so they did not need to opearate the keypad of the knitting machine to upload a pattern. | ||
+ | |||
+ | ==== Web Links ==== | ||
+ | |||
+ | === Python === | ||
+ | * [[http://www.python.org/|Python Website]] | ||
+ | * [[http://showmedo.com/videotutorials/python|Python Video Tutorials]] | ||
+ | |||
+ | === Tutorials === | ||
+ | * [[http://www.ladyada.net/learn/electroknit/|electroknit tutorial]] by Lady Ada | ||
+ | * [[blog:kraftivision:knithacking_with_python|video tutorial]] by Becky Stern | ||
+ | |||
+ | === Software === | ||
+ | * [[https://github.com/adafruit/knitting_machine|Python knitting_machine tools]] (gitHub) | ||
+ | * [[http://trac.mediamatic.nl/devcamps/browser/camp10/banjo|Banjo Dinsaurs Adventure]] (trac) | ||
+ | |||
+ | === Projects === | ||
+ | * [[http://www.mediamatic.net/page/167514/en|Banjo Dinosaur Knitting Adventure]] | ||
+ | * [[http://www.mediamatic.net/page/167594/en|Mediamatic's Process Dev Camp]] | ||
+ | |||
+ |