Class encapsulating information about media capacity.
Space used includes the required media lead-in (unless the disk is
unused). Space available attempts to provide a picture of how many bytes
are available for data storage, including any required lead-in.
The boundaries value is either
| Method Summary |
| |
__init__(self,
bytesUsed,
bytesAvailable,
boundaries)
Initializes a capacity object. |
| |
_getBoundaries(self)
Property target available to get the boundaries tuple. |
| |
_getBytesAvailable(self)
Property target available to get the bytes-available value. |
| |
_getBytesUsed(self)
Property target used to get the bytes-used value. |
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
x.__hash__() <==> hash(x) |
| |
__new__(T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| |
__str__(x)
x.__str__() <==> str(x) |