Table of contents Index

class TempArrayFile - An ArrayFile that is deleted automatically.

Declared in module Gnuplot

Inheritance hierarchy:

Gnuplot.TempArrayFile
  Gnuplot.ArrayFile
    Gnuplot.AnyFile
  Gnuplot.TempFile
    Gnuplot.AnyFile

Synopsis

class TempArrayFile(ArrayFile, TempFile):
    def __init__(self, set, filename=None) # Create a temporary file and write an array to it.

    # Inherited from Gnuplot.AnyFile
    def __init__(self, filename=None) # Make an 'AnyFile' referencing the file with name 'filename'.

    # Inherited from Gnuplot.ArrayFile
    def __init__(self, set, filename=None) # Create a file and write an array to it.

    # Inherited from Gnuplot.TempFile
    def __del__(self) # Delete the referenced file.

__init__(self, set, filename=None)

Create a temporary file and write an array to it.

When the TempArrayFile is destroyed, the file is deleted automatically.

__init__(self, filename=None)

Make an 'AnyFile' referencing the file with name 'filename'.

If filename is not specified, choose a random filename (but do not create the file).


Valid HTML 4.0! Made with CSS