From ea3e2d07911b2f4d3ff044c4a7bfd4e8c77be937 Mon Sep 17 00:00:00 2001 From: Denise sur Lya Date: Tue, 27 Jul 2021 14:37:33 +0200 Subject: =?UTF-8?q?cr=C3=A9ation=20du=20projet...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 config.py (limited to 'config.py') diff --git a/config.py b/config.py new file mode 100644 index 0000000..deb461a --- /dev/null +++ b/config.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +""" +Configuration générale +""" + +# Configuration par défaut +DEFAUT = {} + +DEFAUT["titre"] = "Le bingo de l'allaitement" + +DEFAUT["nblignes"] = 4 +DEFAUT["nbcolonnes"] = 3 +DEFAUT["nbcasesvides"] = 0 + + +# Configuration + +CONFIG = {} +CONFIG["lmax_titre"] = 50 +CONFIG["maxlignes"] = 20 +CONFIG["minlignes"] = 1 +CONFIG["maxcolonnes"] = 20 +CONFIG["mincolonnes"] = 1 \ No newline at end of file -- cgit v1.2.3