My first attempt at a Python script.