Home | Trees | Indices | Help |
---|
|
label.Label --+ | FileLabel
A 'FileLabel' is a 'Label' that uses the filesystem's naming scheme.
A 'FileLabel' is a 'Label' whose separator character is the operating system's file system separator character (typically '/' or '\'). These labels are not system-independent; there is no guarantee that 'FileLabel's will have the same meaning on different operating systems.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_sep =
|
|
Combine this label and the 'labels' into a single label. 'labels' -- A sequence of strings giving the components of the new label. All but the last are taken as directory names; the last is treated as a basename.
|
Split the label into a pair '(directory, basename)'. returns -- A pair '(directory, basename)', each of which is a label. It is always true that 'directory.join(basename)' will return a label equivalent to the original label.
|
Return the basename for the label. returns -- A string giving the basename for the label. The value returned for 'l.basename()' is always the same as 'l.split()[1]'.
|
Return the directory name for the 'label'. returns -- A string giving the directory name for the 'label'. The value returned for 'l.dirname()' is always the same as 'l.split()[0]'.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |