Function
posixpath.expandvars

Signature

expandvars(path)

Documentation String

Expand shell variables of form $var and ${var}. Unknown variables are left unchanged.