Commit 07117ee2 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find Products

parent 1b58c435
...@@ -43,7 +43,8 @@ def main(argv): ...@@ -43,7 +43,8 @@ def main(argv):
dirList = os.listdir(".") dirList = os.listdir(".")
print (dirList) print (dirList)
print ( str(len( set(fileNames) & set(fileNames) ))+" of " + str(len(productList)) +"products found.") matchingProducts = list(set(fileNames) & set(fileNames))
print ( str(len(matchingProducts))+" of " + str(len(productList)) +" products found.")
# print(json.dumps(productList)) # print(json.dumps(productList))
if __name__ == "__main__": if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment