mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
15 lines
257 B
Python
15 lines
257 B
Python
# coding=utf-8
|
||
"""
|
||
@project: maxkb
|
||
@Author:虎
|
||
@file: file_util.py
|
||
@date:2023/9/25 21:06
|
||
@desc:
|
||
"""
|
||
|
||
|
||
def get_file_content(path):
|
||
with open(path, "r", encoding='utf-8') as file:
|
||
content = file.read()
|
||
return content
|