Sep-21-2019, 05:33 PM
(Sep-21-2019, 04:04 PM)woooee Wrote:Quote:prints all four filenames in the "filename" columnYou put all of the file names in the list, not just one.lines = [[files, html]]I would also suggest that you print the contents of the html variable after the for has finished, and see how many (or few)files it contains.
How do put only one file name in the list? Do I do the following:
line = [[filename, html]]