Visit my personal web-page for the Python code: https://www.softlight.tech/
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.