- Mac OSX
- Binary installation from python.org
- Windows
- Binary installation from python.org
- Ubuntu/Debian
- sudo apt-get install python2.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// placeholder text fallback | |
// requires modernizer and jQuery | |
$(function () { | |
if (!Modernizr.input.placeholder) { | |
var placeholder_text_color = '#999999'; | |
function hide_placeholder_fake(real, fake) { | |
real.show(); | |
real.focus(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Python implementation of Conway's Game of Life | |
Somewhat inspired by Jack Diederich's talk `Stop Writing Classes` | |
http://pyvideo.org/video/880/stop-writing-classes | |
Ironically, as I extended the functionality of this module it seems obvious | |
that the next step would be to refactor board into a class with advance and | |
constrain as methods and print_board as __str__. | |
""" |
NewerOlder