@@ -76,7 +76,8 @@ import platform
7676# using as Keyword import a module
7777import platform as plt
7878
79- # if you check the id of object platform and plt both will point to the same object
79+ # if you check the id of object
80+ # platform and plt both will point to the same object
8081print (id (platform))
8182print (id (plt))
8283
@@ -138,7 +139,7 @@ FUNCTIONS
138139
139140DATA
140141 DEV_NULL = '/dev/null'
141- __copyright__ = '\n Copyright (c) 1999-2000, Marc-Andre Lemburg... ...
142+ __copyright__ = '\n Copyright (c) 1999-2000, Marc-Andre Lemburg.
142143
143144VERSION
144145 1.0.8
@@ -167,20 +168,32 @@ import platform
167168print (dir (platform))
168169'''
169170#Result
170- ['DEV_NULL', '_UNIXCONFDIR', '_WIN32_CLIENT_RELEASES', '_WIN32_SERVER_RELEASES',
171- '__builtins__', '__cached__', '__copyright__', '__doc__', '__file__', '__loader__',
172- '__name__', '__package__', '__spec__', '__version__', '_codename_file_re',
173- '_default_architecture', '_dist_try_harder', '_distributor_id_file_re', '_follow_symlinks',
174- '_ironpython26_sys_version_parser', '_ironpython_sys_version_parser', '_java_getprop',
175- '_libc_search','_linux_distribution', '_lsb_release_version', '_mac_ver_xml', '_node',
176- '_norm_version', '_parse_release_file','_platform', '_platform_cache', '_pypy_sys_version_parser',
177- '_release_file_re', '_release_filename', '_release_version','_supported_dists', '_sys_version',
178- '_sys_version_cache', '_sys_version_parser', '_syscmd_file', '_syscmd_uname','_syscmd_ver',
179- '_uname_cache', '_ver_output', 'architecture', 'collections', 'dist', 'java_ver', 'libc_ver',
180- 'linux_distribution', 'mac_ver', 'machine', 'node', 'os', 'platform', 'popen', 'processor',
181- 'python_branch', 'python_build','python_compiler', 'python_implementation', 'python_revision',
182- 'python_version', 'python_version_tuple', 're', 'release', 'subprocess', 'sys', 'system',
183- 'system_alias', 'uname', 'uname_result', 'version', 'warnings', 'win32_ver']
171+ ['DEV_NULL', '_UNIXCONFDIR', '_WIN32_CLIENT_RELEASES',
172+ '_WIN32_SERVER_RELEASES', '__builtins__', '__cached__',
173+ '__copyright__', '__doc__', '__file__', '__loader__',
174+ '__name__', '__package__', '__spec__', '__version__',
175+ '_codename_file_re','_default_architecture', '_dist_try_harder',
176+ '_distributor_id_file_re', '_follow_symlinks',
177+ '_ironpython26_sys_version_parser', '_ironpython_sys_version_parser',
178+ '_java_getprop',
179+ '_libc_search','_linux_distribution', '_lsb_release_version',
180+ '_mac_ver_xml', '_node',
181+ '_norm_version', '_parse_release_file','_platform',
182+ '_platform_cache', '_pypy_sys_version_parser',
183+ '_release_file_re', '_release_filename', '_release_version',
184+ '_supported_dists', '_sys_version',
185+ '_sys_version_cache', '_sys_version_parser',
186+ '_syscmd_file', '_syscmd_uname','_syscmd_ver',
187+ '_uname_cache', '_ver_output', 'architecture',
188+ 'collections', 'dist', 'java_ver', 'libc_ver',
189+ 'linux_distribution', 'mac_ver', 'machine', 'node',
190+ 'os', 'platform', 'popen', 'processor',
191+ 'python_branch', 'python_build','python_compiler',
192+ 'python_implementation', 'python_revision',
193+ 'python_version', 'python_version_tuple', 're',
194+ 'release', 'subprocess', 'sys', 'system',
195+ 'system_alias', 'uname', 'uname_result', 'version',
196+ 'warnings', 'win32_ver']
184197'''
185198```
186199
0 commit comments