A data conversion question

Mok-Kong Shen mok-kong.shen at t-online.de
Sun Apr 6 04:09:24 EDT 2014


A newbie's question of curiosity:

If I have

g=[1,[2]] and

bg=bytearray(str(g),"latin-1")

could I somehow get back from bg a list g1 that is the same as g?

Thanks in advance.

M. K. Shen



More information about the Python-list mailing list