Skip to content

Commit 550eac7

Browse files
authored
Update README.md
1 parent b0e1d00 commit 550eac7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Day-05/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ using below command we should export env variable to linux/mac
88
export DB_HOST="localhost"
99
```
1010

11-
11+
In the code we call env variable by using `os.getenv`
12+
```
1213
import os
1314
1415
## ** Simple get with optional default **
15-
```
1616
api_key = os.getenv('API_KEY', 'default-key')
1717
```

0 commit comments

Comments
 (0)