Package advene :: Package model :: Package core :: Module content :: Class PackagedDataFile
[hide private]
[frames] | no frames]

Class PackagedDataFile

source code

object --+    
         |    
      file --+
             |
            PackagedDataFile

Instance Methods [hide private]
file object
__init__(self, filename, element)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
None or (perhaps) an integer
close(self)
Close the file.
source code

Inherited from file: __delattr__, __enter__, __exit__, __getattribute__, __iter__, __new__, __repr__, __setattr__, fileno, flush, isatty, next, read, readinto, readline, readlines, seek, tell, truncate, write, writelines, xreadlines

Inherited from object: __hash__, __reduce__, __reduce_ex__, __str__

Properties [hide private]
  _element

Inherited from file: closed, encoding, mode, name, newlines, softspace

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename, element)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns: file object
Overrides: object.__init__
(inherited documentation)

close(self)

source code 

Close the file.

Sets data attribute .closed to True. A closed file cannot be used for further I/O operations. close() may be called more than once without error. Some kinds of file objects (for example, opened by popen()) may return an exit status upon closing.

Returns: None or (perhaps) an integer
Overrides: file.close
(inherited documentation)