====== Système et plateforme ====== Informations sur le système sur lequel Python s'exécute : >>> import platform >>> platform.system() 'Windows' >>> platform.processor() 'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel' >>> platform.platform() 'Windows-10-10.0.19045-SP0' >>> platform.machine() 'AMD64' >>> platform.version() '10.0.19045' >>> platform.uname() uname_result(system='Windows', node='KIPLZ13681NB', release='10', version='10.0.19045', machine='AMD64') >>> import platform >>> platform.system() 'Darwin' >>> platform.processor() 'i386' >>> platform.platform() 'Darwin-10.8.0-i386-64bit' >>> platform.machine() 'i386' >>> platform.version() 'Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386' >>> platform.uname() ('Darwin', 'Hostname.local', '10.8.0', 'Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386', 'i386', 'i386') Pour savoir si on utilise Python en **32** ou **64** bits, lancer Python en ligne de commande : # 32 bits : Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Intel)] on win32 # 64 bits : Python 3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32