Created
April 14, 2020 10:59
-
-
Save nihalpasham/65fcb53d781a46633ddb86b48deed399 to your computer and use it in GitHub Desktop.
symbol decoding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tokens_real = [] | |
tokens_imag = [] | |
for i in range(0, len(symbols_real)-1): | |
if symbols_real[i] == 15: | |
token = symbols_real[i:i+8] | |
tokens_real.append(token) | |
for i in range(0, len(symbols_imag)-1): | |
if symbols_imag[i] == 15: | |
token = symbols_imag[i:i+8] | |
tokens_imag.append(token) | |
print(tokens_real) | |
print(tokens_imag) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment