Posts Tagged ‘ twitter ’

randdecimal – python and django tips and tricks

November 3, 2011
By

from decimal import Decimal from random import randint def randdecimal(a, b): """ Return a random decimal N such that a <= N <= b. """ a, b = Decimal(a), Decimal(b) diff = b - a multiplier = pow(10, abs(diff.as_tuple())) ...

Read more »

django.dispatch.receiver – FTW! – python and django tips and tricks

October 5, 2011
By

Думаю, долгое время, каждый из нас присоединял сигналы к событиям при помощи старого доброго connect метода, например как: from django.contrib.auth.models import User from django.db.models import signals ...

Read more »

Installing Both Python 2.5 And Python 2.6 on Windows Box~Mohamed …

July 6, 2011
By

Collection of python tips and hacks · Python: Remove items from a list that occur in ano... My new blogging policy. ► 2010 (13). ► August (2). Overriding class methods without inheritance in Ja... What version of . ...

Read more »

Twitter Feed w/ x-time-ago & Error Handling – PHP – Snipplr Social …

May 5, 2011
By

... Format - How many seconds/minutes/hours/days/years/decades ago · Testing for an error using exception handling - the stupid way · Delete files massively + time and number of files deleted · Python: error handling ...

Read more »

Python Tips, Tricks, and Hacks – Siafoo

October 5, 2010
By

Want to write shorter, cleaner code? Have an unfortunate situation where you need to fit as much as you can in one expression? Prefer a quick dose.

Read more »

Gothenburg GTUG » Gillar du Python? [Tips]

May 6, 2010
By

Gillar du Python? . maj 6th, 2010 johan Skriv en kommentar Gå till kommentarer. Programmerar du Python? Då kan vi tipsa om Gothenburg Python User Group. De kommer att köra sin första konferens i Göteborg den 29 maj. ...

Read more »

ASP.NET customErrors and real HTTP status codes (404s not 302s)

August 3, 2009
By

NET, Error Handling . Ever client always asks for error handling. They always want to display a “friendly” error page to their customers/viewers, other than the ASP.NET yellow “Application Error in '/'”…you know what I'm talking about! ...

Read more »

ASP.NET/VB.NET – Video Training

June 19, 2009
By

NET and VB.NET debugging procedures; Includes 7 levels of VB.NET Visual Basic.NET programming levels; Learn about everything from VB. NET error handling to polymorphism and upgrading applications to VB.NET ...

Read more »

Some Django tips and tricks pages that I've found helpful. | Kenji …

May 28, 2009
By

Small Django tips from one newbie to another: Another older article, this one also emphasizes the need for unit testing, and gives some examples (with code) about how to go about this. It also discusses ways to manage frequent model ...

Read more »