Nadiana - nadiana.com
General Information:
Latest News:
Why Python Pickle is Insecure 9 Sep 2009 | 08:11 pm
Python pickle is a powerful serialization module. It is the most common method to serialize and deserialize Python object structures. The pickle module has an optimized cousin called cPickle that is w...
PIL Tutorial: From Basic to Advanced Drawing 31 Aug 2009 | 11:25 am
The ImageDraw module provides simple 2D graphics for Image objects. You can use it to create new images, annotate or retouch existing images, and generate graphics on the fly for usage on the web. In ...
Animated Terminal Progress Bar in Python 11 Jan 2009 | 09:39 am
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...
Terminal Controller for Python 4 Jan 2009 | 11:21 am
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 ter...
PIL Tutorial: Converting Between PNG and GIF 15 Jul 2008 | 10:03 am
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 p...
PIL Tutorial: How to Create a Button Generator 8 Jul 2008 | 10:19 am
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 tutoria...
jQuery Confirm Plugin 22 Sep 2007 | 06:55 am
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 ...