Files
2022-05-21 15:53:43 +02:00

16 lines
344 B
Python

import platform
from textwrap import dedent
print(
# we must dedent, otherwise Markdown
# will render it as a code block!
dedent(
f"""
- machine: `{platform.machine()}`
- version: `{platform.version()}`
- platform: `{platform.platform()}`
- system: `{platform.system()}`
"""
)
)