This commit is contained in:
Ádám Kovács
2023-11-07 14:00:40 +01:00
parent 36638e2dd1
commit ec52bd7384
7 changed files with 301 additions and 0 deletions

8
helper.py Normal file
View File

@@ -0,0 +1,8 @@
import uos
def file_or_dir_exists(filename):
try:
uos.stat(filename)
return True
except OSError:
return False