themadinventor/esptool — pull request #7 by tommie (2014-11-22 13:53:38+00:00)
Title: Force python2 and fix flash_finish problems

It turns out the second parameter is the number of calls to finish_block.

Using python2 probably works on all modern OSes (where hashbangs are supported).