This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
tinypy:gui [2013/05/02 16:26] fx [Manipulating paths] |
tinypy:gui [2013/05/02 16:27] (current) fx [Manipulating paths] |
||
|---|---|---|---|
| Line 52: | Line 52: | ||
| Return the filename only | Return the filename only | ||
| - | dirname("/c/foo/bar.txt")=>"bar.txt" | + | basename("/c/foo/bar.txt")=>"bar.txt" |
| ==== Getting a file size ===== | ==== Getting a file size ===== | ||