Fix OutputDir docs
Closed this issue · 0 comments
pplonski commented
Code example for OutputDir is not working
https://runmercury.com/docs/output-widgets/outputdir/
It should be
import os
with open(os.path.join(my_dir.path, "example-file.txt"), "w") as fout:
fout.write("Hello!")