Skip to main content

arch()

Description:​

Determines system architecture. This currently ONLY works on Mac and Linux systems; Windows support coming soon

Usage:​

import platforminfo


computer = platforminfo.Platform()
basePlatformValue = computer.arch()

Examples:​

  • Fedora Linux 38

    • output; x86_64
  • macOS 10.14 x86_84

    • output: x86_84
  • macOS 12 M1/2

    • output: aarch64