PyPy 1.8 Improves Performance, Maintains Business As Usual
PyPy 1.8 has arrived, and brings with it a number of bug fixes and performance and memory improvements over the previous release.
Tweet 0 Comments Save Tags: announcement , news , python , tools
Hacking into Python Objects Internals
Christian S. Perone provides an excellent tutorial on how to hack into Python Objects internals, allowing you to access fields like... more »
Tweet 0 Comments Save Tags: how-to , python , tools
Mixing R, Python, and Perl in 14 Lines of Code
John Cook continues his post "Running Python and R inside Emacs" in which he explained how to execute independent code blocks in Emacs... more »
Tweet 0 Comments Save Tags: how-to , other languages , python
Python 2.7 CSV Files with Unicode Characters
The csv module in Python 2.7 is more-or-less hard-wired to work with ASCII and only ASCII. Sadly, we're often confronted with CSV files... more »
Tweet 0 Comments Save Tags: how-to , python , tools
Running Python and R Inside Emacs
John Cook shows you how to enable support for Python and R inside Emacs, along with some of the basic possibilities for managing blocks... more »
Tweet 0 Comments Save Tags: how-to , python , tools
wxPython: Learning to Use Fonts
Mike Driscoll continues his series on wxPython in this tutorial where he explains how to change the fonts using wx.Font and the widget's... more »
Tweet 0 Comments Save Tags: how-to , python , tools , windows
"Understanding" RPython
Dave Beazley's Chipy talk from January 12, 2012. This is a screen capture taken directly from a laptop with a live audio track. About 50... more »
Tweet 0 Comments Save Tags: how-to , python , tools , web design
All Tests Passed - Have a Banana: Colored Output while doing TDD with DJango and Fabric
David Winterbottom has an easy way to add custom colors and messages to Django while doing TDD. "All Tests Passed - Have a Banana!"
Tweet 2 Comments Save Tags: how-to , python , web design
Computing Convolution using Numpy's Kaiser Windows
A convolution is a way to combine two sequences, x and w, to get a third sequence, y, that is a filtered version of x. Using Numpy's... more »
Tweet 0 Comments Save Tags: how-to , python , tools
What WSGI is
WSGI (Web Server Gateway Interface) is the standard for interfacing Python web applications with web servers. One of the Python syntax... more »
Tweet 0 Comments Save Tags: how-to , python , server , web services
Algorithm of the Week: Data Compression with Prefix Encoding
Prefix encoding, sometimes called front encoding, is yet another algorithm that tries to remove duplicated data in order to reduce its... more »
Installing a Django Application on Red Hat's OpenShift PAAS
While taking Red Hat's OpenShift PAAS for a test drive recently, Ken Cochrane noticed a lack of Python documentation on the subject, so... more »
Tweet 0 Comments Save Tags: how-to , open source , python , reviews
Apache Log Parsing with Python
Steven Lott provides a simple code snippet for parsing Apache logs in Python that makes the access log rows first-class Access-class... more »
Tweet 0 Comments Save Tags: how-to , open source , python , tools
Easy way to reduce the size of png files
Step by step instructions of how to easily reduce the file size of png files, without reducing quality. Bash and python scripts included.
Tweet 0 Comments Save Tags: how-to , python , unix-linux
Amon - Python-powered server monitoring, logging, and error reporting with JSON API
mon from Martin Rusev is a simple yet flexible way to add server monitoring, logging, and error tracking to your web stack. Amon consists... more »
Tweet 0 Comments Save Tags: how-to , opinion , python , tools
Multiprocessing using Python
Basically, the following example will be perfect for applications in which the exact same task has to be performed several times on unrelated data.
Tweet 0 Comments Save Tags: python
wxPython: Showing 2 Filetypes in wx.FileDialog
Mike Driscoll shows you how to make the wx.FileDialog display more than one file type at a time using the 'wildcard' variable.
Tweet 0 Comments Save Tags: how-to , python , windows
The importance of thinking the right thing
I've been fiddeling with type inference again -- this time I've actually got much further than before. This time, the algorithm can... more »
Tweet 0 Comments Save Tags: opinion , python
Model Templates in Django without Denormalization
The model needed to represent the notion of a university module, which can be taught over a number of semesters and/or years, by... more »
Tweet 0 Comments Save Tags: frameworks , how-to , python
We Need To Talk About Binary Search.
Why is binary search so damn hard to get right? Why is it that 90% of programmers are unable to code up a binary search on the spot, even... more »
Tweet 0 Comments Save Tags: python , reviews
Running Sentry on DotCloud
Ken Cochrane has a great step-by-step post on how to run Sentry on DotCloud.
Tweet 0 Comments Save Tags: how-to , python , tools
wxPython: A Wizard Tutorial
Mike Driscoll takes a look at wxPython's Wizard Widget (the dialog that you see when you run an installer or set up a template) and... more »
Tweet 0 Comments Save Tags: how-to , python , tools , windows
Local Directory vs. Local Guide
Kin's work with CityGrid places led him to the conclusion that user-centered local direction provides search mechanisms for finding local... more »
Tweet 0 Comments Save Tags: opinion , python , ruby
Multiprocessing Goodness Part 1: Use Case
The advantage of multiprocessing is to have multiple processes working on a problem. If we break a big problem into small, concurrent... more »
Tweet 0 Comments Save Tags: how-to , python , tools
Mocking Generator Methods in Python
Another mock recipe, this one for mocking generator methods. A Python generator is a function or method that uses the yield statement to... more »
Tweet 0 Comments Save Tags: how-to , python , tools


