MikrofonSensor und TemperaturSenor die zwei Python programme funktionieren. mit den jeweiligen 2 json Datein. Beim TemperaturSensor wird im Terminal keine Wertre ausgegeben aber in der json Datei kann man die Temp und Hum sehen.
This commit is contained in:
parent
4c654ec969
commit
1751076592
2614 changed files with 349009 additions and 0 deletions
37
lib/python3.11/site-packages/pip/_vendor/rich/diagnose.py
Normal file
37
lib/python3.11/site-packages/pip/_vendor/rich/diagnose.py
Normal file
|
@ -0,0 +1,37 @@
|
|||
import os
|
||||
import platform
|
||||
|
||||
from pip._vendor.rich import inspect
|
||||
from pip._vendor.rich.console import Console, get_windows_console_features
|
||||
from pip._vendor.rich.panel import Panel
|
||||
from pip._vendor.rich.pretty import Pretty
|
||||
|
||||
|
||||
def report() -> None: # pragma: no cover
|
||||
"""Print a report to the terminal with debugging information"""
|
||||
console = Console()
|
||||
inspect(console)
|
||||
features = get_windows_console_features()
|
||||
inspect(features)
|
||||
|
||||
env_names = (
|
||||
"TERM",
|
||||
"COLORTERM",
|
||||
"CLICOLOR",
|
||||
"NO_COLOR",
|
||||
"TERM_PROGRAM",
|
||||
"COLUMNS",
|
||||
"LINES",
|
||||
"JUPYTER_COLUMNS",
|
||||
"JUPYTER_LINES",
|
||||
"JPY_PARENT_PID",
|
||||
"VSCODE_VERBOSE_LOGGING",
|
||||
)
|
||||
env = {name: os.getenv(name) for name in env_names}
|
||||
console.print(Panel.fit((Pretty(env)), title="[b]Environment Variables"))
|
||||
|
||||
console.print(f'platform="{platform.system()}"')
|
||||
|
||||
|
||||
if __name__ == "__main__": # pragma: no cover
|
||||
report()
|
Loading…
Add table
Add a link
Reference in a new issue