Peano
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1# This file is part of the Peano project. For conditions of distribution and
2# use, please see the copyright notice at www.peano-framework.org
3
4import peano4.api
5
6HEADER = r"""
7
8+-------+-------+-------+
9| | | |
10+-------+-------+-------+ ██████╗ ██╗ ██╗
11| | | | ██╔══██╗ ██║ ██║
12+-------+-------+-------+ ██████╔╝ ███████║
13| | | | ██╔═══╝ ╚════██║
14+-------+-------+-------+ ╚═╝ ╚═╝
15
16Peano 4 (C) www.peano-framework.org
17"""
18peano4.api.Logger().log(HEADER, peano4.api.LoggerPrintOption.ALWAYS_PRINT)
19
20
21
22
23
24
25
26
27try:
28 import jinja2
29except ImportError:
30 print(
31 "Jinja2 is not available, cannot generate glue code. Most Peano 4 features will be unavailable."
32 )
Singleton logger for the Peano 4 Python API.
Definition Logger.py:37