Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

An example:

S = 'my message'
print S
L = list(S) 
print L
L_int = [ord(s) for s in L]
print L_int
print [chr(i) for i in L_int]
print ''.join([chr(i) for i in L_int])
print

M = matrix(2,5,L_int)
M