st-mine/tools/genMD.py
Caesar Kabalan 6ac0915906 Add +x permission to two python tools.
All other tools in the /tools/ directory had the +x permission so
changed genMD.py and update_all.py to match.
2016-12-23 20:10:57 -07:00

8 lines
210 B
Python
Executable file

import os
with open('README.md', 'w') as mkdn:
mkdn.write("Screenshots\n===\n")
for f in [f for f in os.listdir('.') if os.path.isfile(f)]:
mkdn.write("`%s`\n\n" % f)
mkdn.write("![image](%s)\n\n" % f)