Python

  • submit to reddit
The Python Programming Language

Dev of the Week: Mahdi Yusuf

Every week, we feature a new developer/blogger from the DZone community here and in our newsletter, catching up to find out what they're working on...

0 replies - 3357 views - 05/22/13 by Eric Gregory in Articles

Ruby/Python: Constructing a taxonomy from an array using zip

As I mentioned in my previous blog post I’ve been hacking on a product taxonomy and I wanted to create a ‘CHILD’ relationship between a...

0 replies - 2758 views - 05/19/13 by Mark Needham in Articles

Legacy Code Preservation: Why Preserve the DSL?

A Domain-Specific Language (DSL) can provide some intellectual leverage. We can always write long and convoluted programs in a general-purpose programming...

0 replies - 2306 views - 05/17/13 by Steven Lott in Articles

Links You Don't Want To Miss (May 17)

Modular DOMReady A new tool for making your web development life a little easier.  I love the site design this guy has too. NES Drawn in 100%...

0 replies - 1986 views - 05/17/13 by Mitch Pronschinske in Articles

Synchronizing Cicadas with Python

Suppose you want to know when your great-grandmother was born. You can’t find the year recorded anywhere. But you did discover an undated letter from her...

0 replies - 1667 views - 05/15/13 by John Cook in Articles

Wasp's Nest: A Lock-Free Concurrency Pattern In Python

In recent work on PyMongo, I used a concurrency-control pattern that solves a variety of reader-writer problem without mutexes. I doubt I'm the first to think...

0 replies - 791 views - 05/13/13 by A. Jesse Jiryu Davis in Articles

Python Will Have enums in 3.4!

After months of intensive discussion (more than a 1000 emails in dozens of threads spread over two mailing lists, and a couple of hundred additional private...

0 replies - 2363 views - 05/11/13 by Eli Bendersky in Articles

Links You Don't Want To Miss (May 7)

Are video codecs written in JavaScript the future? Mozilla has been showing off its new ORBX.js, a video codec roughly comparable to H.264 that can be...

0 replies - 2105 views - 05/06/13 by Mitch Pronschinske in Articles

Rolling Dice for Normal Samples in Python

A handful of dice can make a decent normal random number generator, good enough for classroom demonstrations. I wrote about this a while ago. My original post...

0 replies - 2476 views - 04/30/13 by John Cook in Articles

Pulling Data From Pages That Don't Expect It

In this seriously in-depth Pycon talk, we learn how to use Python to scrape data from web sources not conventionally built to supply it:

0 replies - 608 views - 04/30/13 by Eric Gregory in Articles

Another Thing About Python's Threadlocals

As the maintainer of the connection pool for PyMongo, the official MongoDB driver for Python, I've gotten far more intimate knowledge of Python threads...

0 replies - 782 views - 04/29/13 by A. Jesse Jiryu Davis in Articles

Legacy Code Preservation: What's the Story?

Wind back the clock to the late 1970's. Yes, there were computers in those days. Some of my earliest billable gigs where conversions from old OS to new...

0 replies - 2646 views - 04/19/13 by Steven Lott in Articles

Links You Don't Want To Miss (4/17)

An Innovative New Sales Strategy: More Puppies! These guys ran an A/B test to see if a picture of a puppy increased clicks. Turns out, it more than doubled...

0 replies - 2112 views - 04/17/13 by Mitch Pronschinske in Articles

Pretty-Printing JSON with Python's JSON Tool

Today's quick tip is something that was widely retweeted after my "Debugging HTTP" talk at the ever-fabulous WhiskyWeb conference last weekend. When working...

0 replies - 1299 views - 04/16/13 by Lorna Mitchell in Articles

Python: Reading a JSON file

I’ve been playing around with some code to spin up AWS instances using Fabric and Boto and one thing that I wanted to do was define a...

0 replies - 2135 views - 04/10/13 by Mark Needham in Articles