GeoEco.DataManagement.Files.File.Exists

classmethod File.Exists(path)

Tests that a specified path exists and is a file.

Parameters:

path (str) – Path to test. Minimum length꞉ 1.

Returns:

A two-item tuple, where the first item is True if the specified path exists, and the second is True if the specified path exists and is a file.

Return type:

tuple of bool