Python

  • submit to reddit
The Python Programming Language

Mixins in Python

In Python, mixins allow a programmer to package a set of clearly defined and cohesive methods into a unit that can then be used to add functionality to...

0 replies - 2388 views - 05/16/12 by Christian Posta in Articles

Processing GMail IMAP email

Here is an example of processing your GMail IMAP email in Python. The script below will: login to GMail account using IMAPopen your Inboxretrieve...

0 replies - 1170 views - 05/15/12 by Corey Goldberg in Articles

Video: Pydata Workshop Tutorial

Summary In this video tutorial from the 2012 PyData Workshop, John Hunter, author of matplotlib is going to give you some advanced...

0 replies - 1674 views - 05/14/12 by Will Soprano in Articles

Python - Matplotlib and Numpy on Debian/Ubuntu

There are `python-matplotlib` and `python-numpy` packages in the Debian/Ubuntu repos. However, if you want to run in a virtualenv (with...

0 replies - 1470 views - 05/14/12 by Corey Goldberg in Articles

Prime Factor Decomposition of a Number

The following function computes the prime factors (PFs) of an integer.from math import floor def factors(n): result = [] for i in range(2,n+1): # test...

0 replies - 2592 views - 05/14/12 by Giuseppe Vettigli in Articles

Getting Real-time Data into Apps

The web is live. APIs give us access to continuously changing data. We discuss ways to get real-time data into your app, how to handle data processing and...

0 replies - 2168 views - 05/13/12 by Will Soprano in Articles

Video: Performance Management From A to Z'

This session will cover the challenges of creating a production application performance monitoring system for Python. It includes an overview of the...

0 replies - 2132 views - 05/12/12 by Will Soprano in Articles

From Designer to Django-er in Six Weeks

Django gives you the tools to start a successful web app even if you're new to development -- and even if your developer skills seem inadequate to your...

0 replies - 1553 views - 05/11/12 by Will Soprano in Articles

Rants On The Daily Grind of Building Software

Language, Tools, Chickens, Eggs, Java and Python Too much of programming is intimately tied up with the tools to support the development of the...

0 replies - 5749 views - 05/11/12 by Steven Lott in Articles

Video: New Django Hosting Platforms

Over the last year there's a been a whole new crop of specialized hosting platforms for Django applications. In this panel, we speak to a number of the...

0 replies - 2618 views - 05/10/12 by Will Soprano in Articles

Djangocon Videos Continued

Django forms are really powerful but there are edge cases that can cause a bit of anguish. This talk will go over how to handle many common solutions not...

0 replies - 1362 views - 05/10/12 by Will Soprano in Articles

Using Pip and Requirements.txt to Install From the Head of Github Branch

Problem The python package installer pip can be used to install directly from Github, like so:$ pip install...

0 replies - 2426 views - 05/10/12 by David Winterbottom in Articles

Two More Videos From Djangocon

Daniel Greenfeld, Miguel Araujo Django forms are really powerful but there are edge cases that can cause a bit of anguish. This talk will go over how to...

0 replies - 1131 views - 05/09/12 by Will Soprano in Articles

Bonus Algorithm: Run-Length Encoding

Introduction Run-length encoding is a data compression algorithm that helps us encode large runs of repeating items by only sending one item from the run...

0 replies - 2930 views - 05/09/12 by Stoimen Popov in Articles

Algorithm of the Week: Determine if a Number is Prime

Each natural number that is divisible only by 1 and itself is prime. Prime numbers appear to be more interesting to humans than other numbers. Why is that...

1 replies - 17142 views - 05/09/12 by Stoimen Popov in Articles