Skip to content

Commit 7c76177

Browse files
committed
Update README.md
1 parent 9825322 commit 7c76177

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ pip install py-jsonl
4242
> Use `jsonl.dump` to incrementally write an iterable of dictionaries to a JSON Lines file:
4343
4444
```python
45+
# -*- coding: utf-8 -*-
46+
4547
import jsonl
4648

4749
data = [
@@ -60,6 +62,8 @@ jsonl.dump(data, "file.jsonl")
6062
> iterator of dictionaries:
6163
6264
```python
65+
# -*- coding: utf-8 -*-
66+
6367
import jsonl
6468

6569
# Load data from a JSON Lines file

0 commit comments

Comments
 (0)