#NEWLINE# def _get_py_files( self , basepath , subpath = '' ) : #NEWLINE# #INDENT# files = [ ] #NEWLINE# badchars = [ '.' , '_' , '~' ] #NEWLINE# path = os . path . join ( basepath , subpath ) #NEWLINE# for f in os . listdir ( path ) : #NEWLINE# #INDENT# if ( ( not f . endswith ( '.py' ) ) or any ( map ( ( lambda c : f . startswith ( c ) ) , badchars ) ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# files . append ( os . path . join ( subpath , f ) ) #NEWLINE# #UNINDENT# return files