Skip to content

Instantly share code, notes, and snippets.

@nihalpasham
Created April 14, 2020 10:59
Show Gist options
  • Save nihalpasham/65fcb53d781a46633ddb86b48deed399 to your computer and use it in GitHub Desktop.
Save nihalpasham/65fcb53d781a46633ddb86b48deed399 to your computer and use it in GitHub Desktop.
symbol decoding
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