sciwing.commands¶
validators¶
Utility functions for validation.
-
sciwing.commands.validators.is_file_exist(name: str)¶ Indicates whether file name exists or not
Parameters: name (str) – String representing filename Returns: True when filename indicated by name exists, False otherwise Return type: bool
-
sciwing.commands.validators.is_valid_python_classname(name: str)¶ Indicates whether name is a valid Python identifier
Parameters: name (str) – A string representing a class name Returns: True when name is a valid python identifier, False otherwise Return type: bool