Over 30 types of variables available in python ?

chaouche yacine yacinechaouche at yahoo.com
Mon Jan 7 00:12:11 CET 2013


booleans
ints, floats, longs, complexes
strings, unicode strings
lists, tuples, dictionaries, dictionary views, sets, frozensets, buffers, bytearrays, slices
functions, methods, code objects,modules,classes, instances, types, nulls (there is exactly one object of type Null which is None), tracebacks, frames
generators, iterators, xranges,
files,

memoryviews,
context managers,

These are all listed in this page http://docs.python.org/2/library/stdtypes.html as built-in types. Am I getting anything wrong here ? I'm a bit confused about it. I have never seen so many types in the few programming languages I saw.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130106/e75c06eb/attachment.html>


More information about the Python-list mailing list