pyguymer3.make_path_safe

pyguymer3.make_path_safe(path, /, *, allowHidden=False, ensureNFC=True)[source]

Make a path safe for using on a filesystem.

Parameters:
  • path (str) – the path to make safe

  • allowHidden (bool, optional) – allow the path to be hidden if it starts with a period (default False)

  • ensureNFC (bool, optional) – ensure that the Unicode encoding is NFC

Notes

Copyright 2017 Thomas Guymer [1]

References