This commit is contained in:
Volkan Şahin 2016-09-21 12:07:17 +03:00
commit c24fb75eee
2 changed files with 10 additions and 1 deletions

View file

@ -30,7 +30,7 @@ We encourage contributions to the project. To contribute:
## Changelog
See [changelog](https://github.com/Pardus-Kurumsal/lider/wiki/Changelog) to learn what we have been up to.
See [changelog](https://github.com/Pardus-Kurumsal/ahenk/wiki/Changelog) to learn what we have been up to.
## Roadmap

View file

@ -96,6 +96,15 @@ class Util:
finally:
return content
@staticmethod
def read_file_by_line(full_path, mode='r'):
line_list = list()
with open(full_path, mode) as f:
lines = f.readlines()
for line in lines:
line_list.append(line)
return line_list
@staticmethod
def write_file(full_path, content, mode='w+'):
file = None