Python Gets Funded by DARPA for Big Data Project: Blaze

I first heard about Blaze from NumPy’s original developer’s blog back in December 2012. A few days ago, InformationWeek announced that DARPA was funding the project to the tune of $3 million dollars to get some big data libraries written for Python. There will be two new projects, Blaze and Bokeh. Blaze will be an […]

Python Gets Funded by DARPA for Big Data Project: Blaze Read More »

Central Python Events Calendar Announced

The Python Software Foundation recently put out an announcement about a central Python events calendar. I thought that was really cool, so I’m reproducing their announcement here. Spread the word! ________________________________________________________________________ ANNOUNCING Central Python Events Calendars maintained by the Python Software Foundation (PSF) and a group of volunteers ________________________________________________________________________ INTRODUCTION The PSF has put together

Central Python Events Calendar Announced Read More »

Python 101: Exception Handling

Python provides robust exception handing baked right into the language. Exception handing is something every programmer will need to learn. It allows the programmer to continue their program or gracefully terminate the application after an exception has occurred. Python uses a try/except/finally convention. We’ll spend some time learning about standard exceptions, how to create a

Python 101: Exception Handling Read More »

wxPython: How to Get Children Widgets from a Sizer

The other day, I stumbled across a question on StackOverflow asking how to get the children widgets of a BoxSizer. In wxPython, you would expect to call the sizer’s GetChildren() method. However, this returns a list of SizerItems objects rather than a list of the actual widgets themselves. You can see the difference if you

wxPython: How to Get Children Widgets from a Sizer Read More »

wxPython: How to make “flashing text”

People keep on asking fun wxPython questions on StackOverflow. Today they wanted to know how to make “flashing text” in wxPython. That’s actually a pretty easy thing to do. Let’s take a look at some simple code: import random import time import wx ######################################################################## class MyPanel(wx.Panel): “””””” #———————————————————————- def __init__(self, parent): “””Constructor””” wx.Panel.__init__(self, parent) self.font

wxPython: How to make “flashing text” Read More »

Python Concurrency: Porting from a Queue to Multiprocessing

Earlier this week, I wrote a simple post about Python’s Queues and demonstrated how they can be used with a threading pool to download a set of PDFs from the United States Internal Revenue Service’s website. Today I decided to try “porting” that code over to Python’s multiprocessing module. As one of my readers pointed

Python Concurrency: Porting from a Queue to Multiprocessing Read More »