first version of xsearch

This commit is contained in:
Sendou
2019-05-07 13:48:57 +03:00
parent 00ce14149d
commit 25388977d8
246 changed files with 980 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
import glob
import os
script_dir = os.path.dirname(__file__)
rel_path = "memCakes/*.png"
abs_file_path = os.path.join(script_dir, rel_path)
file_names = []
for filepath in glob.iglob(abs_file_path):
file_names.append(filepath.split("\\")[-1])
print(file_names)