function in jsngram.dir2 module

Description

Lists files in a directory recursively, excluding dot files and dot directories. Returns a list of paths relative to the argument path. Alwasy uses '/' as path delimiter, even on Windows.

Example
jsngram.dir2.list_files('/scratch')
# ['a.txt', 'c/d.txt', 'c/e.txt']
      
Usage

jsngram.dir2.list_files(path, base=None)

Argument path is a target directory that will be scanned. Argument base is used to control the relative path inside, and should not be used by user.