<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi<div><br></div><div>i have a question in using Eric4 as follow:</div><div><br></div><div>code as this:</div>
<div><br></div><div><div><i><b>t = raw_input("enter a list: ").split(',')</b></i></div><div><i><b>print t</b></i></div><div><b><i><br></i></b></div><div>and i thought the result would be:</div><div><br></div>
<div><b><i><span style="font-style: normal; font-weight: normal; "><div><b><i>>>> enter a list: 1,2,3,4,5</i></b></div><div><b><i>['1', '2', '3', '4', '5']</i></b></div></span></i></b></div>
<div><b><i><br></i></b></div><div>but the result is:</div><div><br></div><div><div><b><i>>>> enter a list: 1,2,3,4,5</i></b></div><div><b><i>[u'1', u'2', u'3', u'4', u'5']</i></b></div>
<div><b><i><br></i></b></div><div>why?!</div><div>Appreciate for answer!</div></div></div></span>