Jun-28-2019, 11:01 AM
I am not able to convert array to string using fromstring() method
my code is:
my code is:
from array import * my_char_array = array('c', ['g','e','e','k'])
Error:Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
my_char_array = array('c', ['g','e','e','k'])
ValueError: bad typecode (must be b, B, u, h, H, i, I, l, L, q, Q, f or d)