Home | Trees | Indices | Help |
|
---|
|
object --+ | PathPointer --+ | object --+ | | | basestring --+ | | | str --+ | FileSystemPathPointer
A path pointer that identifies a file which can be accessed directly
via a given absolute path. FileSystemPathPointer
is a
subclass of str
for backwards compatibility purposes -- this
allows old code that expected nltk.data.find()
to expect a
string to usually work (assuming the resource is not found in a
zipfile).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
path The absolute path identified by this path pointer. |
|||
Inherited from |
|
Create a new path pointer for the given absolute path.
|
Return a seekable read-only stream that can be used to read the contents of the file identified by this path pointer.
|
Return the size of the file pointed to by this path pointer, in bytes.
|
Return a new path pointer formed by starting at the path identified by
this pointer, and then following the relative path given by
|
repr(x)
|
str(x)
|
|
pathThe absolute path identified by this path pointer.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:53 2008 | http://epydoc.sourceforge.net |