Learning to code python scripts