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:
17
test.py
Normal file
17
test.py
Normal 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))
|
||||
Reference in New Issue
Block a user