First pushed, setup all the stuff we need, no launcher yet. So test your code in another place for now, because they are all codepended on each others ...

This commit is contained in:
Hieuhuy Pham
2022-05-04 12:22:20 -07:00
parent 5875ac0e79
commit 1fb8fef7a3
7 changed files with 143 additions and 0 deletions

17
test.py Normal file
View File

@@ -0,0 +1,17 @@
import re
import os
for i in range(99):
word_lower = chr(i % 26 + 97) + chr(i % 26 + 97 + 1)
print(word_lower)
if re.match(r"^[a-d1-1].*",word_lower):
print("SAVE 1")
elif re.match(r"^[e-k2-3].*",word_lower):
print("SAVE 2")
elif re.match(r"^[l-q4-7].*",word_lower):
print("SAVE 3")
elif re.match(r"^[r-z8-9].*",word_lower):
print("SAVE 4")
path = "data/DEV/"
print(os.listdir(path))