import sys
...

Python .ini file parser

by lbolognini, November 08, 2007 21:47, 5 refactorings, tagged with parser, ini

This is an excercise to imp...

D2ff155cd04fa175620d2f3495b11b08 Talk
class SearchLet(Form):
    district = Field(widget=SelectMultiple(choices=DISTRICTS, required=False)
...

Python Django models search

by lbolognini, November 10, 2007 16:30, 3 refactorings, tagged with search, python, django, orm

I'm using the following cod...

D2ff155cd04fa175620d2f3495b11b08 Talk
import inspect
def curried(f):
    def curhelp(n, args):
...

Python Currying decorator

by openid.aol.com/Sxipestro, November 01, 2007 21:35, 1 refactoring

This decorator works, but u...

D41d8cd98f00b204e9800998ecf8427e Talk
#! /usr/bin/python
""" A python primer. pydoc, doctest and classes.

...

Python Classtemplate

by griflet, October 03, 2007 02:15, 19 refactorings

I'm new to python (and to O...

Aae34a7973a8d98e53764a1c89090c55 Talk
"""
For a given number, prints Pascal's Triangle upside-down up to that line.
Prints everything alligned at first, but starts screwing up at about 13.
...

Python Pascal's Triangle

by getopenid.com/ptn, October 04, 2007 11:57, 5 refactorings

Algorithms and Data Structu...

55502f40dc8b7c769880b10874abc9d0 Talk
def summe(zahlMaximum):
	
	z = [0,0,0,0,0,0]
...

Python Sum of all checksums to a v...

by jpzk.myopenid.com, October 16, 2007 21:37, 5 refactorings

It's very long and i just w...

Cf3ca7d0045e5f823c16d5f6b7687060 Talk
def montage():
  topLeft = makePicture(getMediaPath("images-1.jpg")) # Top left picture, type in later
  topRight = makePicture(getMediaPath("images-2.jpg")) # Top Right picture, 
...

Python posterize

by goatmonkey.myopenid.com/, September 28, 2007 04:59, 5 refactorings

Creates a collage

Aa245e36dd988cb88f695c57ff86e02e Talk