mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 04:09:05 +00:00
9 lines
219 B
Python
9 lines
219 B
Python
with! open!("examples/record.er"), f =>
|
|
print! f.read!()
|
|
|
|
open_file!(path) =
|
|
with! open!(path, mode:="r" , encoding:="utf_8"), f =>
|
|
data = f.read!()
|
|
data
|
|
|
|
print! open_file!("examples/record.er")
|