simple python scripts - learning stuff