__init__ (
self,
set,
filename=None,
)
Create a temporary file and write an array to it.
Arguments:
-
set
- a Numeric array of arbitrary dimension.
-
filename
- the (optional) name of the file to which the
array should be written. If
filename is not
specified, a random filename is chosen.
When the TempArrayFile is destroyed, the file is deleted
automatically.
|