Simon Willison’s Weblog

Subscribe

27th January 2021

TIL Conditionally creating directories in cookiecutter — I wanted my [datasette-plugin](https://github.com/simonw/datasette-plugin) cookiecutter template to create empty `static` and `templates` directories if the user replied `y` to the `include_static_directory` and `include_templates_directory` prompts.

This is a beat by Simon Willison, posted on 27th January 2021.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe