User Tools

Site Tools


tinypy:gui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tinypy:gui [2013/05/02 16:26]
fx [Scanning folders]
tinypy:gui [2013/05/02 16:26]
fx [Manipulating paths]
Line 43: Line 43:
 ==== Manipulating paths  ===== ==== Manipulating paths  =====
  
-__dirname__(path)__ ​+__dirname(path)__ ​ 
  ​Return the dir that leads to path  ​Return the dir that leads to path
   dirname("/​c/​foo/​bar.txt"​)=>"/​c/​foo"​   dirname("/​c/​foo/​bar.txt"​)=>"/​c/​foo"​
  
-__basename__(path)__ ​+ 
 +__basename(path)__ ​ 
  ​Return the filename only  ​Return the filename only
   dirname("/​c/​foo/​bar.txt"​)=>"​bar.txt"​   dirname("/​c/​foo/​bar.txt"​)=>"​bar.txt"​
tinypy/gui.txt · Last modified: 2013/05/02 16:27 by fx