what about unsigned and signed 8 bits number, 16 bits, etc??

sarmin kho sarmin_kho at yahoo.com
Mon Jun 14 09:22:56 EDT 2004


Hi Pythoners,
 
When it is an integer number, what is the range of the integer number and long integer number??
 
do we have typecasting of 8bits or 16bits signed and unsigned number in python?
 
the python script i m working on would need to typecast the number it reads from a hardware. this number would then be typecasted according to its type before further processing. the typecasting is in form of signed 8bits and 16bits number. how do i do this in python??
 
any helps, please..
 
many thanks
sarmin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040614/f6badcf8/attachment.html>


More information about the Python-list mailing list