Created
March 20, 2023 14:40
-
-
Save rccc/71e814f8bf49073f5617b169e3b653cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
fn main(){ | |
mut handler := os.create('test.txt') or { panic(err) } | |
handler.write_string('Hello World!') or { panic(err) } | |
handler.close() | |
} | |
thomas-mangin
commented
Mar 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment