Last active
July 25, 2018 23:03
-
-
Save dotcomboom/524bb217b0bfd0744bd60880f50edaf4 to your computer and use it in GitHub Desktop.
Generate IMG tags for every file in a folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
for filename in os.listdir(input('Path: ')): | |
print('<img src="' + filename + '" />') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment