some codes with python