Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Disk Output

< >
Example from 1 languages: Python
with open('helloworld.txt', 'w') as filehandle: filehandle.write('Hello, world!\n')
Example from 1 languages: Elixir
File.write!("helloworld.txt", "Hello, world!\n")
Example from 1 languages: Node.js
require("fs").writeFileSync("foo.txt", "foo", "utf8")
Example from 2 languages: REBOL, Boron
write %helloworld.txt "Hello, world!^/"
Example from 1 languages: Jule
use std::fs::{open, O_WRONLY} fn main() { let (mut f, _) = open("myfile.txt", O_WRONLY, 0) let bytes = ([]byte)("Text to write") f.write(bytes) f.close() }
Example from 1 languages: Speedie
"helloworld.txt" <~ "Hello, world!\n"
*

Languages with Disk Output include Python, Elixir, Node.js, REBOL, Jule, Speedie, Boron

*

Languages without Disk Output include CSS, JSON, XML, HAML

*

View all concepts with or missing a canWriteToDisk measurement

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io