On 12/11/2007 5:08 PM, [EMAIL PROTECTED] wrote:

> On 11 Dez, 22:02, [EMAIL PROTECTED] wrote:
>> Ok. This is small code.
>>
>> The problem is '2' != 2 there is a way of converting 'some number' in
>> number ?
>>


<snip>


 >>> ord('2')
50
 >>> chr(50) == '2'
True
 >>> int('2')
2
 >>> int('2') == 2
True
 >>>

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

Reply via email to