hi, 
 
i dont know why when i re-run bin(0xff0) today at IDLE Python 2.5, it gives me 
traceback error. 
 
>>> bin(0xff0)
Traceback (most recent call last):
  File "<pyshell#47>", line 1, in <module>
    bin(0xff0)
NameError: name 'bin' is not defined
 
i guess Python 2.5 doesn't support binary conversion of hex. confuse why it 
worked yesterday when i tried out. 
 
thanks
tcl
 
 
######################################
2) You've already done that several times, just use bin()

HTH,
Adam.
                                          
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to