parameters: (self, roots='')
return_statement: return list(_getFullPath()), list(_getFullName())
docstring: :param roots: should be absolute path
          :return: pdf path and pdf name
docstring_summary: :param roots: should be absolute path
          :return: pdf path and pdf name
docstring_tokens: : param roots : should be absolute path : return : pdf path and pdf name
function: def getLocalPDF(self, roots=''):
          """
          :param roots: should be absolute path
          :return: pdf path and pdf name
          """
          if roots == 'none':
              return [], []
  
          def _getFullPath():
              for root, dirs, files in os.walk(roots, topdown=True):
                  for name in files:
                      if '.' in name:
                          if name.split('.')[-1] == 'pdf':
                              full_path = os.path.join(root, name)
                              yield full_path.replace('\\', '/')
  
          def _getFullName():
              for root, dirs, files in os.walk(roots, topdown=True):
                  for name in files:
                      if '.' in name:
                          if name.split('.')[-1] == 'pdf':
                              yield name.split('.')[0]
  
          return list(_getFullPath()), list(_getFullName())
function_tokens: def getLocalPDF ( self , roots = '' ) : if roots == 'none' : return [ ] , [ ] def _getFullPath ( ) : for root , dirs , files in os . walk ( roots , topdown = True ) : for name in files : if '.' in name : if name . split ( '.' ) [ - 1 ] == 'pdf' : full_path = os . path . join ( root , name ) yield full_path . replace ( '\\' , '/' ) def _getFullName ( ) : for root , dirs , files in os . walk ( roots , topdown = True ) : for name in files : if '.' in name : if name . split ( '.' ) [ - 1 ] == 'pdf' : yield name . split ( '.' ) [ 0 ] return list ( _getFullPath ( ) ) , list ( _getFullName ( ) )