On Jan 27, 9:18 am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-01-27, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > How can I convert a string to a char list?
> > for example
>
> > "hello" --> ['h','e','l','l','o']
>
> > I have been searching but I can't find my answers
> list("hello")

Wow, I've been using [c for c in 'hello'] for as long as I can remember
needing it. Thanks!

Vlad

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to