bundles / jupyter_client 8.10.0 / jupyter_client / utils / _expand_path
function
jupyter_client.utils:_expand_path
source: /jupyter_client/utils.py:71
Signature
def _expand_path(s: str) → strSummary
Expand $VARS and ~names in a string, like a shell
Extended Summary
- Examples
In [2]: os.environ['FOO']='test'
In [3]: expand_path('variable FOO is $FOO') Out[3]: 'variable FOO is test'
Aliases
jupyter_client.utils._expand_path