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 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 44: Line 44:
  
 __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