Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ChenyuRabbitLove
/
MESReport
like
1
Running
App
Files
Files
Community
4427f36
MESReport
/
utils
/
utils.py
ChenyuRabbitLove
refactor: add utils
de7f21d
11 months ago
raw
Copy download link
history
blame
No virus
146 Bytes
def
get_content
(
file_name:
str
) ->
str
:
with
open
(file_name,
"r"
, encoding=
"utf-8"
)
as
file:
content = file.read()
return
content