python on mac os x 10.5

I’m quite new to mac’s world, but I’m quite old from linux…
So here is my short note about python on macosx

Install the XCode 3.0 additional disk that came with Leopard
Install macport
set in your profile (/Users/yourname/.profile) the following lines

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
export MANPATH=/opt/local/share/man/:$MANPATH
export EDITOR=vim

Install port python (with django): sudo port install py25-django
Install port ipython: sudo port install [...]