Small script that has dfu-programmer packaged with it, allows you to reflash your keyboard without needing to use another keyboard to type in the command line. Gives you a 15 sec pause to put your keyboard into flash/reset/boot mode.
These are the commands issued during the flash (taken from TMK documentation)
dfu-programmer atmega32u4 erase --force
dfu-programmer atmega32u4 flash <your_firmware.hex>
dfu-programmer atmega32u4 reset
simply run the program, or enter the name of your firmware to flash at the end of the script name
"python ./flash.py"
"python ./flash.py myfirware.hex"