IdentifiantMot de passe
Mot de passe oublié ?Je m'inscris ! (gratuit)
22.2 Opening a Memmap

22.2 Opening a Memmap

You can create a Memmap object by calling the open function, as in:

>>> m = open("memmap.tst","w+",len=48)
>>> m
<Memmap on file 'memmap.tst' with mode='w+', length=48, 0 slices>

Here, the file ``memmap.tst'' is created/truncated to a length of 48 bytes and used to construct a Memmap object in write mode whose contents are considered undefined.

Send comments to the NumArray community.