global dired
dired = f"{os.path.expanduser('~')}/.cache/lightcards/"
+
def name_gen(stra):
hasher = hashlib.md5()
hasher.update(str(stra).encode("utf-8"))
def purge_all():
if os.path.exists(dired):
shutil.rmtree(dired)
-
-
-if __name__ == "__main__":
- main()