blob: fa28c0fa3770bd42a25a56d55589701b6f02d764 (
plain) (
blame)
1
2
3
4
5
6
|
expandvars is inspired by GNU bash's variable expansion features. It can be used
as an alternative to Python's os.path.expandvars function.
A good use case is reading config files with the flexibility of reading values
from environment variables using advanced features like returning a default
value if some variable is not defined.
|