Readin env
Read in a environment variables.
readin_env(path='.', name='.env', overwrite=False)
Set environment variables from a .env file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
Path to a .env file, or to a directory containing such a file.
By default, this will fall back on |
'.'
|
name |
str
|
Name of the file, when |
'.env'
|
overwrite |
bool
|
If |
False
|
Examples:
Returns:
Type | Description |
---|---|
None
|
If a file is found, it will add contents to |