Skip to content

Commit e1c9fd4

Browse files
committed
Add platform identification calls to the app startup.
1 parent a2a6151 commit e1c9fd4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/testbed/app.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import importlib
2+
import os
23
import platform
34
import sys
45

@@ -8,6 +9,21 @@ def main():
89
print(f"Python {platform.python_version()} Verification Suite")
910
print(f"Running on {platform.platform()}")
1011
print("=" * 80)
12+
print(f"{sys.platform=}")
13+
print(f"{sys.implementation=}")
14+
print("-" * 80)
15+
print(f"{platform.architecture()=}")
16+
print(f"{platform.machine()=}")
17+
print(f"{platform.node()=}")
18+
print(f"{platform.processor()=}")
19+
print(f"{platform.release()=}")
20+
print(f"{platform.system()=}")
21+
print(f"{platform.version()=}")
22+
print(f"{platform.uname()=}")
23+
print("-" * 80)
24+
print(f"{os.name=}")
25+
print(f"{os.uname()=}")
26+
print("=" * 80)
1127

1228
# Load the platform module
1329
if hasattr(sys, "getandroidapilevel"):

0 commit comments

Comments
 (0)