purna chandra wrote: > Hello, > I have a simple question.Hoping not to take much of > your valuable time...:-). I am trying to get the data > from a string, and am wondering if I get > http://groups.google.com/intl/en/googlegroups/tour/index.html > from the array : > array('c', > '\x00=http://groups.google.com/intl/en/googlegroups/tour/index.html')) > > Thanks in advance, > > regards, > purna. >
i am not sure i understand your question right if not just ignore import array x = array.array("c", "test") s = x.tostring() s # => "test" hth, Daniel -- http://mail.python.org/mailman/listinfo/python-list