public marks

PUBLIC MARKS from bcpbcp with tags python & 2006

04 March 2006

ASPN : Python Cookbook : Sudoku Solver using a 3D-metaphor

(via)
This script views a sudoku problem as a 3-dimensional binary cube. It solves the sudoku problem by wiping away x,y,z points from this cube until the solution appears.

25 February 2006

Introducing JSON

by 14 others (via)
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

httpy -- a sane and robust HTTP library for Python

by 1 other (via)
This is my contribution to the wild and woolly world of Python web programming. For a short intro, check out the screencast (Flash; ~45 sec; ~2 MB). After that, the manual should answer most of your questions. If not, check the source, or the Google Group.

12 February 2006

A PyGame Working Example: Starting a Game

In PyGame for Game Development, I showed you the very basics of PyGame's graphical side. However, creating a game with PyGame requires a bit more. All the concepts described before need to be glued together somehow, and new concepts will need to be introduced in order to create a functional game. In this article, we'll do just that by tackling a working example of PyGame's capabilities—a Python-powered game.