News for hackers. Stuff that matters.
Re:Why I'm still using Python by arcturus17 on Saturday December 31, 2022 @06:42AM (#34195568)
What's the story in Deno with the standard lib and filesystem interaction? Because those are the two vital parts of scripting for me. I dabbled in Node scripting for a bit and ditched it because I didn't feel it was a viable option compared to Bash or Python.
Re:Why I'm still using Python by culi on Saturday December 31, 2022 @03:09PM (#34200242)
It's all built-in. No extra dependencies or even imports necessary. Relative and absolute file paths work as expected. You can save and read any files freely

You can import synchronously, asynchronously, as a stream, as a string, etc. All the functionality you'd expect is built-in with the Deno module (e.g. `Deno.readTextFile('./my/path.json')`) or even with module imports