Add Python script and update README.md.