str.fgetdir
Getting the directory name. The method removes the final name of a file or directory.
method str str.fgetdir (
str name
)
str name
)
Parameters
name | Initial filename. |
Return value
Returns the object which method has been called.
Related links | Source |