Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Python

  • submit to reddit
The Python Programming Language

Automated Web/HTTP Profiler with Selenium-RC and Python

A small open source project I am working on: Selenium-profiler is a web/http profiler built with Selenium-RC and Python. It profiles page load time...

0 replies - 294 views - 05/31/12 by Corey Goldberg in Articles

wxPython: How to use the Clipboard

Everyone who uses computers regularly knows that they can copy and paste text. What they might not know is that when you copy something, it goes into a...

0 replies - 930 views - 05/30/12 by Mike Driscoll in Articles

The Python 2.6 Weirdness

What do you think this script prints?:import thread, threading, sys class Weeper(object): def __del__(self): sys.stdout.write('oh cruel world...

0 replies - 544 views - 05/30/12 by A. Jesse Jiryu Davis in Articles

Beginner’s Vimrc File

I have been in and out of using vim a few times now. As I understand it, this is usually the case when transitioning to using vim fulltime.  One rule I...

0 replies - 1643 views - 05/29/12 by Mahdi Yusuf in Articles

Computer Algorithms: Order Statistics

Introduction We know that finding the minimum in a list of integers is a fairly simple task, but what about finding the i-th smallest element? Then the...

0 replies - 1504 views - 05/29/12 by Stoimen Popov in Articles

Python from Scratch vs Battleship Written in Python

I guess by now you already know who I am.  You already read my "Python from Scratch" 1, 2, 3 and 4 , you know that dzone.com has selected me to be...

0 replies - 342 views - 05/29/12 by Hod Benbinyamin in Articles

Keep Your Hook Script in Source Control: Python

Commit your hook script (say pre-commit.sh) at the root of your project and include the installation instructions in your README/documentation to encourage...

0 replies - 821 views - 05/28/12 by Paul Hammant in Articles

Django/NewRelic Quickstart (gunicorn.d + Django 1.3 hack)

New Relic is an excellent web application performance reporting tool. After a great experience using it on Heroku, I went to enable it for an existing...

0 replies - 831 views - 05/28/12 by Chase Seibert in Articles

Python Weekly Link Roundup!

I haven’t done a weekly round-up of Python links because no one seemed to really care when I was doing those. However I thought I’d give it one more...

0 replies - 680 views - 05/27/12 by Mike Driscoll in Articles

What Are Generators For in Python?

I teach Python classes and enjoy exploring language features from the perspective of newbie's to the language. Usually I can explain the rationale for...

0 replies - 949 views - 05/27/12 by Mark Needham in Articles

Web2py App Development Cookbook: A Review

I have read about web2py on several occasions, but never used it myself. Then a few weeks ago, a representative from Packt Publishing contacted me...

0 replies - 1491 views - 05/25/12 by Mike Driscoll in Articles

Python on Windows: Get Set Up to Help With Core Development

I was reading Hynek Schlawack’s excellent article on becoming a Python core developer and decided to find out just how hard it would be to get set up on...

0 replies - 1436 views - 05/24/12 by Mike Driscoll in Articles

Code Aesthetics

This is my first post on Code Aesthetics, a new topic I am exploring. My objective is to come up with a catalog of coding styles that are easy to read. My...

0 replies - 754 views - 05/23/12 by Jose Asuncion in Articles

Core Python Development: How to Submit a Patch

As I mentioned in my last article, I figured I’d try to find something that I could patch in Python and submit it. While writing the other article, I...

0 replies - 1004 views - 05/23/12 by Mike Driscoll in Articles

Organizing Your Domain Services

I have always though that it was easy to name your services e.g if you had a User domain object then you would surely have a User Dao and a User Service....

0 replies - 645 views - 05/22/12 by Jose Asuncion in Articles