{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / completer / compress_user

function

IPython.core.completer:compress_user

source: /dev/ipython/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