i = 0
for j in ['foo', 'bar', 'baz']
puts "#{i} #{j}"
...
Ruby Python's enumerate in Ruby?
by robby86533.identity.net,
July 14, 2008 23:02,
4 refactorings, tagged with ruby, python, for, enumerate
import wsgiref.handlers from google.appengine.ext import webapp ...
Python Get request path using Goog...
by Zote,
July 14, 2008 18:34,
4 refactorings, tagged with python, google application engine, gae, request path
if my url is http://zote.ap...
def segment_pages(page):
page.paginator.left = []
page.paginator.right = []
...
Python Django / Python / Paginatio...
Really quickly ported some ...
import re def addWord(token, frequencies): ...
Python Count word occurrences in a...
This code counts number of ...
class SearchLet(Form):
district = Field(widget=SelectMultiple(choices=DISTRICTS, required=False)
...
Python Django models search
I'm using the following cod...
What is the best way to emu...