def create_project(self):
if os.path.exists(self._py):<EOL><INDENT>prj_dir = os.path.join(self._app_dir, self._project_name)<EOL>if os.path.exists(prj_dir):<EOL><INDENT>if self._force:<EOL><INDENT>logging.warn('<STR_LIT>')<EOL>shutil.rmtree(prj_dir)<EOL><DEDENT>else:<EOL><INDENT>logging.warn('<STR_LIT>')<EOL>return<EOL><DEDENT><DEDENT>logging.info('<STR_LIT>')<EOL>os.makedirs(prj_dir)<EOL>app = """<STR_LIT>""""""<STR_LIT>""""""<STR_LIT>""""""<STR_LIT>""""""<STR_LIT>""""""<STR_LIT>""""""<STR_LIT>""""""<STR_LIT>"""<EOL>with open(os.path.join(prj_dir, '<STR_LIT>'), '<STR_LIT:w>') as f:<EOL><INDENT>f.write(app)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>logging.error('<STR_LIT>')<EOL>return<EOL><DEDENT>
Creates a base Flask project