Welcome to Serpia's blog!

Posts with tag 'python'

The Django book

The definitive guide to Django

This book is a must-read for everyone who wants to build websites and webapplications using the Django web development framework. ...

Posted on January 15, 2008
3 Comments

Get visitor's country

Get visitor's country from IP address

You want to know what country your website visitor is from, so you can automatically translate the page.

...

Posted on December 22, 2007
0 Comments

From HAL to IBM

From HAL to IBM

You want to translate the string 'HAL'
into:
IBM (Go see the movie, if this doesn't ring a bell ;-)

...

Posted on December 22, 2007
3 Comments

Tupleware

Removing items from a tuple and rebuilding the tuple using the builtin zip function

You have a tuple like:
mytuple = [('harry',60,5),('susan',35,3),('guy',28,9),('peter',56,1)]
and ...

Posted on December 22, 2007
0 Comments

Capitalize every first word

Capitalize every first word of a sentence in a string
Turn:
mystring = "dwarf nebula was a wicked little dwarf. he was not ...

Posted on December 22, 2007
0 Comments

Simple search engine in Python

A simple search engine in Python

I think that a search engine for the contents of a website is a great thing to improve a ...

Posted on December 21, 2007
1 Comment

Matplotlib and PyGTK app

About this tutorial

In this tutorial we will create a little application written in PyGTK and we will use Glade to create the graphical use ...

Posted on November 3, 2007
4 Comments

Using SPE, a Python IDE

What is SPE?

Spe is a free python IDE with auto indentation & completion, call tips, syntax coloring & highlighting, UML diagrams, class explorer, source ...

Posted on October 11, 2007
7 Comments

Using MySQL in Python

MySQL is a very popular open source  database, it's used in in millions and millions of (web)applications. There is a module for Python that can ...

Posted on October 8, 2007
8 Comments

Hello again

The old serpia.org web site is not with us anymore. I thought that it would be okay to start from scratch, most tutorials were pretty ...

Posted on October 8, 2007
6 Comments



Django!