some useful python program.