Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

python-leofile make files to objects

leo do not like to use "os.path.join"
so this tiny class borned

在遍历文件的时候被path.join绕晕了
所以写了这个小工具

usage:
    path = '/etc'
    etc = Leofile(path)
    nginx_config = etc.nginx['nginx.conf'].open('r')
    nginx_config.read()

About

make files to objects

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages