mirror of
https://github.com/langchain-ai/markdown-exec.git
synced 2026-08-27 21:09:56 -04:00
16 lines
344 B
Python
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()}`
|
|
"""
|
|
)
|
|
)
|