Skip to content Skip to sidebar Skip to footer

Generate .html Files From The List Of Words?

I'm wondering, is there a possibility to generate somehow .html files from a list of words? See an example on the attached picture. Thanks! Pic

Solution 1:

Yes!! we can use file handling library to create file using the list of words. I am attaching a python program below lis=["file1", "file2"] for x in lis: open(x+".html")

run this above program and get the output

Post a Comment for "Generate .html Files From The List Of Words?"