[Tutor] Converting all Characters in String to Array

Karthik_Gurumurthy@i2.com Karthik_Gurumurthy@i2.com
Sun, 28 Jul 2002 09:47:35 +0530


This is a multipart message in MIME format.
--=_alternative 0017953065256C04_=
Content-Type: text/plain; charset="us-ascii"

did you try
list("hello world")





Dimitrije Nikic <donni@melwestmarket.com>
Sent by: tutor-admin@python.org
07/28/2002 09:37 AM
Please respond to donni

 
        To:     tutor@python.org
        cc: 
        Subject:        [Tutor] Converting all Characters in String to Array


Help!

How do I place all characters from a string to an array list??
E.g: 
The string I want to convert: "Hello World"
The array I want: array[H,e,l,l,o,,W,o,r,l,d)

Thx!!

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor



--=_alternative 0017953065256C04_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">did you try</font>
<br><font size=2 face="sans-serif">list(&quot;hello world&quot;)</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Dimitrije Nikic &lt;donni@melwestmarket.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: tutor-admin@python.org</font>
<p><font size=1 face="sans-serif">07/28/2002 09:37 AM</font>
<br><font size=1 face="sans-serif">Please respond to donni</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;tutor@python.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[Tutor] Converting all Characters in String to Array</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Help!<br>
<br>
How do I place all characters from a string to an array list??<br>
E.g: <br>
The string I want to convert: &quot;Hello World&quot;<br>
The array I want: array[H,e,l,l,o,,W,o,r,l,d)<br>
<br>
Thx!!<br>
<br>
_______________________________________________<br>
Tutor maillist &nbsp;- &nbsp;Tutor@python.org<br>
http://mail.python.org/mailman/listinfo/tutor<br>
</font>
<br>
<br>
--=_alternative 0017953065256C04_=--