Note
Click here to download the full example code
Example Sphinx-Gallery demo¶
This tutorial is an example demo generated using Sphinx Gallery.
System Info¶
import platform
uname = platform.uname()
Let’s print out the system information.
print("="*20, "System Information", "="*20)
print(f"System: {uname.system}")
print(f"Node Name: {uname.node}")
print(f"Release: {uname.release}")
print(f"Version: {uname.version}")
print(f"Machine: {uname.machine}")
print(f"Processor: {uname.processor}")
Out:
==================== System Information ====================
System: Linux
Node Name: build-3288312-project-9734-xanaduai-pennylane-sphinx-theme
Release: 6.8.0-1021-aws
Version: #23-Ubuntu SMP Mon Dec 9 23:59:34 UTC 2024
Machine: x86_64
Processor: x86_64
gallery/tutorial_demo
Download Python script
Download Notebook
View on GitHub