Function getfilename()

← Back to Module fileio



Module fileio → getfilename()

Description

Get file name of a path

getfilename(path)


Parameters


Return Value


Usage Example

import fileio
 
getfilename("/path/to/file.txt")   ' Returns "file.txt"