Home | Trees | Index | 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.
|
|||
Join(self,
*labels)
Combine this label and the 'labels' into a single label. |
|||
Split(self)
Split the label into a pair '(directory, basename)'. |
|||
Basename(self)
Return the basename for the label. |
|||
Dirname(self)
Return the directory name for the 'label'. |
|||
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]'.
|
|
_sep
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:32 2007 | http://epydoc.sf.net |