[zurück]

2.8. Modul platform

[vor]

Mit dem Befehl dir lassen sich alle Funktionen des Moduls platform anzeigen.

print(dir(platform)) ['__builtins__', '__copyright__', '__doc__', '__file__', '__name__', '__package__', '__version__', '_abspath', '_architecture_split', '_bcd2str', '_default_architecture', '_dist_try_harder', '_follow_symlinks', '_ironpython_sys_version_parser', '_java_getprop', '_jython_sys_version_parser', '_libc_search', '_lsb_release_version', '_mac_ver_lookup', '_node', '_norm_version', '_parse_release_file', '_platform', '_platform_cache', '_popen', '_release_filename', '_release_version', '_supported_dists', '_sys_version', '_sys_version_cache', '_sys_version_parser', '_syscmd_file', '_syscmd_uname', '_syscmd_ver', '_test_parse_release_file', '_test_sys_version', '_uname_cache', '_ver_output', '_win32_getvalue', 'architecture', 'dist', 'java_ver', 'libc_ver', 'linux_distribution', 'mac_ver', 'machine', 'node', 'os', 'platform', 'popen', 'processor', 'python_branch', 'python_build', 'python_compiler', 'python_implementation', 'python_revision', 'python_version', 'python_version_tuple', 're', 'release', 'string', 'sys', 'system', 'system_alias', 'uname', 'version', 'win32_ver']


[zurück] [Inhaltsverzeichnis] [vor]