Browse Source

Add helper script

master
Pablo 3 years ago
parent
commit
1e5835aaed
  1. 7
      text2array.py

7
text2array.py

@ -0,0 +1,7 @@
import sys
s = sys.argv[1]
output = str([ord(c) for c in s])
mod1 = output.replace('[','(')
mod2 = mod1.replace(']',')')
print(mod2 + ';')
Loading…
Cancel
Save