File: is_valid.rst

package info (click to toggle)
python-pathvalidate 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 692 kB
  • sloc: python: 3,987; makefile: 262; sh: 6
file content (16 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. _example-is-valid-filename:

Check a filename
----------------------------
:py:func:`.is_valid_filename()` function returns |True| if a filename is valid for a specified platform.

.. include:: is_valid_filename_code.txt


.. _example-is-valid-filepath:

Check a filepath
----------------------------
:py:func:`.is_valid_filepath()` function returns  |True| if a filepath is valid for a specified platform.

.. include:: is_valid_filepath_code.txt