Skip to content

Commit

Permalink
Update python.md
Browse files Browse the repository at this point in the history
  • Loading branch information
companje committed Mar 20, 2023
1 parent 76e0a7c commit dba0b80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/python.md
Expand Up @@ -2,6 +2,12 @@
title: Python
---

# merge two dicts with '|' operator
```python
datums = get_alle_datums_als_tekst(datetime(1800,1,1))
datums |= get_alle_datums(datetime(1800,1,1))
```

# filter out keys that are not in expected_keys
```python
data = {"filename": "x", "aktenummer": "y", "overlijdensdatum": "z", "achternaam overledene": "FILTERED OUT"}
Expand Down

0 comments on commit dba0b80

Please sign in to comment.