modules.files#
Contains logic for file handling
- class modules.files.FileHandler(filename: str)#
Bases:
objectThis class will handle file processing
- __init__(filename: str)#
- extension: str#
- filename: str#
- full_path: str#
- getContent() str#
Return content of instanced file
- getLines() list#
Return list of lines of instanced file
- getPath() Path#
Return a valid pathlib.Path object
- path: str#
- printInvalid()#
Print on invalid file or exception
- setContent(content) bool#
Store content in instanced file
- valid_file: bool#