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

bundles / IPython latest / IPython / core / completer / protect_filename

function

IPython.core.completer:protect_filename

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

Signature

def protect_filename(s: str, protectables: str = ()[]{}?=\|;:'#*"^&) → str

Summary

Escape a string to protect certain characters.

Aliases

  • IPython.core.completer.protect_filename