Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Module « platform » Python 3.13.2

Fonction platform - module platform

Signature de la fonction platform

def platform(aliased=False, terse=False) 

Description

help(platform.platform)

Returns a single string identifying the underlying platform
with as much useful information as possible (but no more :).

The output is intended to be human readable rather than
machine parseable. It may look different on different
platforms and this is intended.

If "aliased" is true, the function will use aliases for
various platforms that report system names which differ from
their common names, e.g. SunOS will be reported as
Solaris. The system_alias() function is used to implement
this.

Setting terse to true causes the function to return only the
absolute minimum information needed to identify the platform.



Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé