This is a development version (9.18.0.dev) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.18.0.dev / IPython / core / completer / compress_user

function

IPython.core.completer:compress_user

source: /IPython/core/completer.py:430

Signature

def compress_user(path: str, tilde_expand: bool, tilde_val: str) → str

Summary

Does the opposite of expand_user, with its outputs.

Aliases

  • IPython.core.completer.compress_user