Validate a filename
----------------------------

The :py:func:`.validate_filename()` function will raise ``ValueError`` if
the name includes invalid character(s) for a filename.

.. include:: validate_file_path_code.txt


Validate a variable name
----------------------------

The :py:func:`.validate_python_var_name()` function will raise ``ValueError`` if
the name includes invalid character(s) for a python variable name.

.. include:: validate_var_name_code.txt
