You are viewing an older version (9.5.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.5.0 / IPython / core / completer / compress_user

function

IPython.core.completer:compress_user

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

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