Skip to content

Commit 42dee0a

Browse files
Simpler markdown
1 parent 656161e commit 42dee0a

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

docs/_locales/fr/on-ml-start.md

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
1-
# file read
2-
3-
FR
4-
5-
Reads the contents of a file from the file system
6-
7-
```sig
8-
files.read("/path/to/file.txt", "UTF-8")
9-
```
10-
11-
## Parameters
12-
13-
* **path**: a string that contains the path to the file on disk
14-
* **encoding**: the encoding of the file to be read
15-
16-
## Example
17-
18-
This example reads from a file on disk and prints the contents to the console.
19-
20-
```blocks
21-
const contents = files.read("/path/to/file.txt", "UTF-8");
22-
console.log(contents)
23-
```
24-
25-
## See also
26-
* [write file](./write-file)
27-
28-
```package
29-
machine-learning=github:microbit-foundation/pxt-microbit-ml
30-
```
1+
# this is in French!

0 commit comments

Comments
 (0)