Python

  • submit to reddit
The Python Programming Language

Python Unit Testing Tutorial (PyMOTW unittest update)

tl;dr: an update to PyMOTW for `unittest` in Python 3: Python Unit Testing Tutorial. When I was learning programming in Python, Doug Hellmann's...

0 replies - 790 views - 01/27/13 by Corey Goldberg in Articles

Leaking Memory / Cursors with SQLAlchemy and Pyramid

After spending the better part of the day trying to find out why the fsck my console script for importing a dataset through SQLAlchemy needed just above 7GBs...

0 replies - 1208 views - 01/25/13 by Mats Lindh in Articles

ActuateOne for OEMs

"Actuate BIRT’s (Business Intelligence and Reporting Tool) proven technology allows software companies to innovate, leapfrog the competition and meet...

0 replies - 411 views - 01/22/13 by Kelley Gemma in Uncategorized

pyRest part 2: Hooking the API

In part 1, a very unexciting base CherryPy implementation was all we had, but now it's time to hook up something real! Instead of creating a mock API to work...

0 replies - 1287 views - 12/24/12 by Fredrik Håård in Articles

Sending Sockets from PostgreSQL Triggers with Python

Picture this: We want to notify to one external service each time that one record is inserted in the database. We can find the place where the insert...

0 replies - 1306 views - 12/02/12 by Gonzalo Ayuso in Articles

Weekly Poll: Sans JVM?

A few weeks ago, we asked which programming language you'd use if Java weren't an option. JVM languages, especially Scala and Groovy, were the overwhelming...

6 replies - 9330 views - 11/02/12 by Bill Armstrong in Articles

Multi-Mechanize: An Open-Source Framework for Performance and Load Testing

I put together a slide-deck to help introduce Multi-Mechanize. I wanted something a little friendlier and easier to digest than "go read the...

0 replies - 4072 views - 10/11/12 by Corey Goldberg in Articles

Fizzbuzz Without Ifs in 90 Characters -- I'll Buy You a Beer if You Can Beat It

Yesterday I got nerd-sniped into solving the FizzBuzz problem without using if sentences. Fizzbuzz, no ifs: [{0: "fizzbuzz"}.get(x%(3*5), {0:...

9 replies - 5400 views - 09/20/12 by Swizec Teller in Articles

Through the Eyes of a Newbie

The wife is interested in learning programming so she has been doing the Code Academy JavaScript course. It’s incredible to observe a person...

0 replies - 1110 views - 09/19/12 by Rob Galanakis in Articles

Nginx, Passenger and WSGI

It’s a little-known fact that Phusion Passenger, the awesome Rack webserver module, can also competently talk WSGI as well as fit into the Rack...

0 replies - 16377 views - 09/19/12 by Oliver Hookins in Articles

Flattening Job Trend Hits Web and Scripting Languages

In the last post, I reviewed the trends for traditional languages like C# and Java. Today, we return to a list I call “web and scripting languages”...

0 replies - 4563 views - 09/10/12 by Robert Diana in Articles

Algorithm of the Week: Graph Breadth First Search

Since we already know how to represent graphs, we can go further for some very simple approaches of walking through them. Passing by all the vertices of a...

2 replies - 10107 views - 09/10/12 by Stoimen Popov in Articles

Python Book Recommendations

People sometimes ask me to recommend a book for learning to program, or a book on Python. If you want both in one book -- to learn Python as a first...

0 replies - 2668 views - 09/07/12 by John Cook in Articles

Motor Progress Report

Motor, my async driver for MongoDB and Tornado, is now compatible with all the same CPython versions as Tornado: 2.5, 2.6, 2.7, and 3.2! PyPy support is...

0 replies - 2793 views - 09/04/12 by A. Jesse Jiryu Davis in Articles

Book Review: MongoDB with Python and Ming

This week I bought Rick Copeland’s MongoDB with Python and Ming eBook from Amazon. It just came out in July 2012, so I figured I should check it out and...

0 replies - 2530 views - 08/13/12 by Mike Driscoll in Articles