Check for existing directory earlier
Author: AllenDowneyCreated Aug 26, 2022Updated Mar 7, 2025
Labelsenhancement
As soon as the user enters the project name (or repo name? which is used for the directory name), check if the directory already exists and either quit or prompt for a new name.
Otherwise, the user has to answer all of the questions and THEN get an error message.
Source: drivendataorg/cookiecutter-data-science