예제 #1
0
파일: tree.py 프로젝트: pyros2097/SabelIDE
 def readFiles(self,parent,path):
     for f in oslistdir(path):
         if ospathisdir(ospathjoin(path,f)):
             d = Dir(parent,f,path)
             self.readFiles(d,ospathjoin(path,f))    
         else:
             if not ospathjoin(f).startswith('.'):
                     File(parent,f,path)
예제 #2
0
파일: tree.py 프로젝트: pyros2097/SabelIDE
 def readMainFiles(self,parent,path):
     for f in oslistdir(path):
         if not ospathisdir(ospathjoin(path,f)):
             if not ospathjoin(f).startswith('.'):
                     File(parent,f,path)
예제 #3
0
파일: tree.py 프로젝트: pyros2097/SabelIDE
 def readMainDir(self,parent,path):
     for d in oslistdir(path):
         if  ospathisdir(ospathjoin(path,d)):
             if not ospathjoin(d).startswith('.'):
                 i = Dir(parent,d,path)
                 self.readMainFiles(i,ospathjoin(path,d))