how to make python loop through all text files in a folder code example
Example: how to loop through files in a directory python
import os
for filename in os.listdir(directory):
if filename.endswith(".asm") or filename.endswith(".py"):
# print(os.path.join(directory, filename))
continue
else:
continue