|
__init__(self,
xyz,
path,
full_path,
ext_path,
driver,
parent,
enc=None,
**kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
is_file(self)
Return True if instance is representing regular file |
source code
|
|
|
is_dir(self)
Return True if instance is representing directory |
source code
|
|
|
is_dir_empty(self)
Return True if instance is representing directory and it is empty |
source code
|
|
|
is_link(self)
Return True if instance is representing soft link |
source code
|
|
|
is_char(self)
Return True if instance is representing soft char device |
source code
|
|
|
is_block(self)
Return True if instance is representing block device |
source code
|
|
|
is_fifo(self)
Return True if instance is representing FIFO |
source code
|
|
|
is_socket(self)
Return True if instance is representing socket |
source code
|
|
|
copy(self,
path,
existcb=None,
errorcb=None,
save_attrs=True,
follow_links=False,
cancel=None)
Copy file to specified location |
source code
|
|
|
move(self,
path,
existcb=None,
errorcb=None,
save_attrs=True,
follow_links=False,
cancel=None)
Move object Arguments are the same as for copy() |
source code
|
|
|
mkdir(self,
newdir)
Create new dir inside object (only valid for directory object types) |
source code
|
|
|
remove(self,
recursive=True)
[Recursively] remove object |
source code
|
|
|
|
|
open(self,
mode='r')
Open self object in provided mode |
source code
|
|
|
|
|
read(self,
bytes=None)
Read bytes from self object |
source code
|
|
|
|
|
seek(self,
offset,
whence=None)
Perform seek() on object |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|