python learning--some simple script written by python