io = open("/path/to/file.txt", "w")
println(io, "some text")
close(io)
See the docs
https://docs.julialang.org/en/v1/manual/networking-and-streams/
io = open("/path/to/file.txt", "w")
println(io, "some text")
close(io)
See the docs
https://docs.julialang.org/en/v1/manual/networking-and-streams/