initilize a memory zone in python

r rt8396 at gmail.com
Sun Aug 30 20:51:28 EDT 2009


On Aug 30, 4:59 pm, Mug <exallion.l... at gmail.com> wrote:
(snip)
> is there a fonction like "memset" or "bzero" in python?

Not that i know of ;). Try this link for a coverage of the Python
built-in functions. You cannot write quality Python code without
them.
http://docs.python.org/3.1/library/functions.html

What you refer to as an array is called a list round here, see this
informative read
http://docs.python.org/3.1/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range

And be sure to check out list comprehentions too, just icing on the
cake ;)

python 3000 docs
http://docs.python.org/3.1/





More information about the Python-list mailing list