brennivin.platformutils module¶
Functionality for learning about the current platform/executable.
Supports finding the Python flavor (ExeFile, Maya, 26, 27), whether the OS is 64 bit Windows, and whether the current process is 64 bits.
Members¶
- brennivin.platformutils.cpu_count(_multiprocmod=<IGNORE>)¶
Number of virtual or physical CPUs on this system.
- brennivin.platformutils.get_interpreter_flavor(_exepath=<IGNORE>, _vinfo=<IGNORE>)¶
Return one of the 'EXE'-prefixed consts showing which interpreter is in use.
- brennivin.platformutils.is_64bit_process(_structmod=<IGNORE>)¶
Return True if the current process is 64 bits, False if 32, otherwise raises OSError.
- brennivin.platformutils.is_64bit_windows()¶
Return true if the current OS is a 64 bit windows OS, False if not. Behavior unreliable on other OSes.