8000 GitHub - dokenzy/Ygritte: get line number of text files in directories recursively
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dokenzy/Ygritte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ygritte

show text file lines

How to use

Read test.py file.

  • Ygritte(directory, [extentions], recursive_level=0)
  • directory: target directory path, relative or absolute
  • extenstion names to cound
  • recursive level: defautl=0

Example

from ygritte import Ygritte
yg = Ygritte()
yg.line('.', ['txt',])
yg.line('mixed', ['js', 'html', 'tex'])
yg.line('mixed', ['js', 'html', 'tex'], depth=1)

LICENSE

This package itself is MIT License, but sample files's text named 's01e03.*' come from Wikipedia. Read LICENSE file.

About

get line number of text files in directories recursively

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0