Changed the "dataReference.txt" file again

This commit is contained in:
JellieJayde
2024-04-23 12:12:41 -04:00
parent e878c3ae73
commit 072a435416
3 changed files with 23 additions and 8 deletions

View File

@@ -51,6 +51,15 @@ with open(execDir + "\\dataReference.txt", "r") as f:
break
with open(execDir + "\\dataEncoded19.ENC", "r") as f:
dataEncodedChar = f.read()
while True:
dataEncodedChar = f.read(1).strip()
if dataEncodedChar.isalpha():
if dataEncodedChar.lower() not in dataEncoded:
dataEncoded.append(dataEncodedChar.lower())
if dataEncodedChar == "~":
print (dataEncoded)
break
parse(dataLanguageChar, dataEncodedChar)