Animated Terminal Progress Bar in Python

In my previous article python terminal controller, I explained a simple way to control display in the terminal and print in colors. In this article I'm going to use the terminal module to draw a fancy animated progress bar. Read more »

progressbar

Terminal Controller for Python

I was looking for an easy way to control the terminal and print colored text in Python. I found this useful recipe. But I wanted something simpler yet powerful, so I decided to write my own little terminal controller. Read more »

PIL Tips: Converting Between PNG and GIF

PIL supports both PNG and GIF image formats, but converting between the two while keeping transparency can be tricky. Inside is a list of tips for dealing with transparency and dithering issues when processing GIF image formats in PIL.

Update:
I found a better and easier trick to keep PNG transparency. You can skip the tutorial and go directly to the solution.



 Read more »

PIL Tutorial: How to Create a Button Generator

Python Imaging Library (PIL) is an external library for Python. It supports opening, manipulating, and saving different image file formats. PIL is well documented and easy to install.

In this tutorial I'm focusing on the paste function. At the end of the tutorial, I'll explain a useful script that converts any icon into a web 2.0 style button, just like these: Read more »

delicious button feed button blogger button

jQuery Confirm Plugin

This plugin displays a confirmation message in place before doing an action. It does not require adding any extra code apart from a call to the plugin itself. One call to $(element).confirm() will do the magic. Also, this plugin doesn't require you to provide a callback function; it figures it out on its own.
You can check the examples for more info. Read more »