Hello,

Your question is "basic" but confusing about the result you want from your 
code.
"Binary digits" (=bits) are stored everywhere in code data : characters, 
integers, floating and so on.
My advice : use numpy (and learn more and more about it).
Read this first : http://docs.scipy.org/doc/numpy/user/basics.types.html
It's about array data types (dtype).
If you want to store binary element, then the 'bool_' data type is the most 
accurate, because "true" and "false" are stored as one bit value 1 or 0 in 
one byte field (a byte is 8 bits,..,all seven others bits are usually fixed 
to 0).

Dominique.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to