A quick Python script for my cousin Fred.