what if i dont want a 32 bit int?
jerry smith
reio-ta at MailAndNews.com
Tue Jan 4 18:57:54 EST 2000
what if all i want is really just an 8 bit or 16 bit number?
so if i do this
i=0x80
i=~i
print '%x' %i
ffffff7f
that is too many leading f's so i have to have an anding mask
of i & ff? is there any alternative? to select how much space i
want to dedicate for a python object to be stored as?
also a special thanks goes out to Eugene for his help from before :)
------------------------------------------------------------
Get your FREE web-based e-mail and newsgroup access at:
http://MailAndNews.com
Create a new mailbox, or access your existing IMAP4 or
POP3 mailbox from anywhere with just a web browser.
------------------------------------------------------------
More information about the Python-list
mailing list