(Jun-28-2019, 11:01 AM)srm Wrote: I am not able to convert array to string
...
I tried all options
You haven't defined what you want.
Either this:
>>> import array >>> array.array('u', ['g', 'e', 'e', 'k']) array('u', 'geek')or something along this line:
>>> ''.join(array.array('u', ['g', 'e', 'e', 'k'])) 'geek'
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.