Users may want to use a custom template as default, without installing it in the central heuristics folder. Also, storing some persistent data can be useful, such as a flag for not showing the splash screen. It can be stored in the user home directory:
heuristics = pathlib.Path.home()/'.bidscoin'/'heuristics'
config = pathlib.Path.home()/'.bidscoin'/'config.toml'
if not config.is_file():
config.parent.mkdir()
Users may want to use a custom template as default, without installing it in the central
heuristics
folder. Also, storing some persistent data can be useful, such as a flag for not showing the splash screen. It can be stored in the user home directory: