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-2599100-project-9734-xanaduai-pennylane-sphinx-theme
Release: 5.19.0-1028-aws
Version: #29~22.04.1-Ubuntu SMP Tue Jun 20 19:12:11 UTC 2023
Machine: x86_64
Processor: x86_64
gallery/tutorial_demo
Download Python script
Download Notebook
View on GitHub